예제 #1
0
 def stopContext(self, ctx):
     if not isinstance(ctx, type) \
             or not issubclass(ctx, fixtures.TestBase):
         return
     plugin_base.stop_test_class(ctx)
예제 #2
0
def class_teardown(item):
    plugin_base.stop_test_class(item.cls)
예제 #3
0
 def stopContext(self, ctx):
     if not isinstance(ctx, type) \
             or not issubclass(ctx, fixtures.TestBase):
         return
     plugin_base.stop_test_class(ctx)
예제 #4
0
def class_teardown(item):
    plugin_base.stop_test_class(item.cls)