Commits

Konstantine Rybnikov committed 1204315

fix failing tests non-failure

  • Participants
  • Parent commits a38724d

Comments (0)

Files changed (1)

     #     if hasattr(self, 'side_effects'):
     #         self._side_effects = self.side_effects()
 
-    def side_effects(self):
-        return
+    def side_effects(self, se=None):
+        return self.invoke(se=se)
 
-    def invoke(self, se):
-        rv = self._current_test_method(self, se)
+    def invoke(self, se=None):
+        if se is None:
+            rv = self._current_test_method(self)
+        else:
+            rv = self._current_test_method(self, se)
         return rv
 
     @classmethod