def beforeTest(self, test): if not hasattr(test.test, 'cls'): return plugin_base.before_test( test, test.test.cls.__module__, test.test.cls, test.test.method.__name__)
def test_setup(item): plugin_base.before_test(item, item.parent.module.__name__, item.parent.cls, item.name)
def beforeTest(self, test): if not hasattr(test.test, 'cls'): return plugin_base.before_test(test, test.test.cls.__module__, test.test.cls, test.test.method.__name__)