<filename>tests/__init__.py
def setup_module(module):
    print('setup_module')

def teardown_module(module):
    print('teardown_module')

<filename>tests/__init__.py
def setup_module(module):
    print('setup_module')

def teardown_module(module):
    print('teardown_module')
