tests: print --dry-run -v newlines nicely

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 7597834f31
commit 1832e44a00

View File

@@ -944,7 +944,8 @@ Valid emulators: {}
def test_teardown(self, run_object):
if self.env['dry_run']:
self.log_info()
if not self.env['verbose']:
self.log_info()
else:
self.log_info(self.seconds_to_hms(run_object.ellapsed_seconds))