diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-05-23 02:42:18 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-05-23 07:10:21 +0000 |
commit | c969dbf25fb8d0b3c3c36f4b3b21959f93d34d01 (patch) | |
tree | 6107fc1d85ab680a27ae7a632dd48ec2699c535a /functest | |
parent | 2d38d6ddfd88dd04fc3148984de6e633a545a456 (diff) |
Bugfix: fix two typos
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>
Diffstat (limited to 'functest')
-rwxr-xr-x | functest/ci/run_tests.py | 2 | ||||
-rw-r--r-- | functest/opnfv_tests/openstack/tempest/tempest.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index 95353c87..8317df54 100755 --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@ -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']): diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index 233ceb48..f5f194e6 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -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() |