diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-01-13 21:32:37 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-21 15:32:51 +0000 |
commit | 9889402b79240d679568ba9b3eaa39e631a0b2e5 (patch) | |
tree | f219447425f7cbd05d3fd95099f1d5aa97ce7bcb /test/framework.py | |
parent | 955ee280280e09b73621119f5753a38ce5173989 (diff) |
VTL: Add **kwargs to VppTestRunner constructor.
Subclasses should accept **kwargs to ensure compatibility as the
interface changes.
https://github.com/python/cpython/blob/master/Lib/unittest/runner.py#L133
Change-Id: Ia64ffd88899d207a5422f066700d2f7f9c77622e
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/framework.py b/test/framework.py index ea637eba9eb..9d85be73452 100644 --- a/test/framework.py +++ b/test/framework.py @@ -1279,12 +1279,12 @@ class VppTestRunner(unittest.TextTestRunner): def __init__(self, keep_alive_pipe=None, descriptions=True, verbosity=1, result_pipe=None, failfast=False, buffer=False, - resultclass=None, print_summary=True): + resultclass=None, print_summary=True, **kwargs): # ignore stream setting here, use hard-coded stdout to be in sync # with prints from VppTestCase methods ... super(VppTestRunner, self).__init__(sys.stdout, descriptions, verbosity, failfast, buffer, - resultclass) + resultclass, **kwargs) KeepAliveReporter.pipe = keep_alive_pipe self.orig_stream = self.stream |