diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-11 13:01:16 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-16 15:01:57 +0200 |
commit | 8cfa8d15a572cbae8bd46dae2a19f9b764684a12 (patch) | |
tree | c63685f22453173856a940ba2a676868f81e6da4 /functest/core/testcase.py | |
parent | 5a9e8f0924daf487c872aab077400df70451813e (diff) |
Switch from generate_report to PrettyTable
run_tests.py now relies on PrettyTable as most of the openstack clients.
generate_report.py and its related unit tests are simply removed.
It sets padding_width=5 in testcase.py too to conform with
run_tests.py.
Now report is printed in every case.
Change-Id: Id9ce93f984503f25d6a2150482f397853fa3dd64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/core/testcase.py')
-rw-r--r-- | functest/core/testcase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/core/testcase.py b/functest/core/testcase.py index 317c4f59..d8b63ef2 100644 --- a/functest/core/testcase.py +++ b/functest/core/testcase.py @@ -52,7 +52,7 @@ class TestCase(object): result = 'PASS' if(self.is_successful( ) == TestCase.EX_OK) else 'FAIL' msg = prettytable.PrettyTable( - header_style='upper', + header_style='upper', padding_width=5, field_names=['test case', 'project', 'duration', 'result']) msg.add_row([self.case_name, self.project_name, |