diff options
Diffstat (limited to 'tests/helpers/python')
| -rw-r--r-- | tests/helpers/python/frrtest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/helpers/python/frrtest.py b/tests/helpers/python/frrtest.py index a7ef1c56b7..da9e447fc0 100644 --- a/tests/helpers/python/frrtest.py +++ b/tests/helpers/python/frrtest.py @@ -87,7 +87,8 @@ class _TestMultiOut(object): def _add_test(cls, method, *args, **kwargs): if 'tests' not in dir(cls): setattr(cls,'tests',[]) - cls._add_test(cls._exit_cleanly) + if method is not cls._exit_cleanly: + cls._add_test(cls._exit_cleanly) def matchfunction(self): method(self, *args, **kwargs) |
