Bugfix: fix two typos
authorLinda Wang <wangwulin@huawei.com>
Tue, 23 May 2017 02:42:18 +0000 (02:42 +0000)
committerLinda Wang <wangwulin@huawei.com>
Tue, 23 May 2017 07:10:21 +0000 (07:10 +0000)
1. In run_tests.py, test case name is shown before running:
   logger.error(kwargs['test']) -> logger.info(kwargs['test'])
2. In tempest.py, Verication -> Verification

Change-Id: I117838cdb4b0f920c4cf855645d910e623e06868
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/ci/run_tests.py
functest/opnfv_tests/openstack/tempest/tempest.py

index 95353c8..8317df5 100755 (executable)
@@ -221,7 +221,7 @@ class Runner(object):
         try:
             if kwargs['test']:
                 self.source_rc_file()
-                logger.error(kwargs['test'])
+                logger.debug("Test args: %s", kwargs['test'])
                 if _tiers.get_tier(kwargs['test']):
                     self.run_tier(_tiers.get_tier(kwargs['test']))
                 elif _tiers.get_test(kwargs['test']):
index 233ceb4..f5f194e 100644 (file)
@@ -148,7 +148,7 @@ class TempestCommon(testcase.TestCase):
                     first_pos = line.index("UUID=") + len("UUID=")
                     last_pos = line.index(") for deployment")
                     self.VERIFICATION_ID = line[first_pos:last_pos]
-                    logger.debug('Verication UUID: %s' % self.VERIFICATION_ID)
+                    logger.debug('Verification UUID: %s', self.VERIFICATION_ID)
                 f_stdout.write(line)
         p.wait()