Decorator to add setup and/or teardown methods to a test function:
@with_setup(setup, teardown) def test_something(): " ... "
Note that with_setup is useful only for test functions, not for test methods or inside of TestCase subclasses.
Enter search terms or a module, class or function name.