summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-01-16 11:12:50 -0800
committerOle Trøan <otroan@employees.org>2019-01-22 10:12:39 +0000
commit1ec06fffca58f9af0205e26fffb4b86383d01dc9 (patch)
treec95f22dfe29fb16c6f284e96b5fe04afc0163e98
parent0655505c01c31ade8014528eaa2c2d52e4af1ea7 (diff)
VTL: VppTestResult: Must implement empty constructor.
Subclasses of (unittest.TestResult|unittest.TextTestResult) must implement an empty constructor. The standard python library unittests depend on the empty constructor. Change-Id: I6d1bd2e7d6996d85a9da66cb7d40af0ed3c30e2b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rw-r--r--test/framework.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/framework.py b/test/framework.py
index 9d85be73452..2a2dfd4b11f 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -1034,7 +1034,8 @@ class VppTestResult(unittest.TestResult):
core_crash_test_cases_info = set()
current_test_case_info = None
- def __init__(self, stream, descriptions, verbosity, runner):
+ def __init__(self, stream=None, descriptions=None, verbosity=None,
+ runner=None):
"""
:param stream File descriptor to store where to report test results.
Set to the standard error stream by default.