summaryrefslogtreecommitdiff
path: root/testutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'testutils.py')
-rw-r--r--testutils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testutils.py b/testutils.py
index 331def0..d19be90 100644
--- a/testutils.py
+++ b/testutils.py
@@ -158,6 +158,9 @@ def set_config(**kwargs):
def _Forward(self):
for key, value in kwargs.iteritems():
setattr(self.checker.config, key, value)
+ if isinstance(self, CheckerTestCase):
+ # reopen checker in case, it may be interested in configuration change
+ self.checker.open()
fun(self)
return _Forward