def get_test_module(app_name):
    ''' Import tests module '''
    module_name = '.'.join([app_name, 'tests'])
    try:
        return import_module(module_name)
    except __HOLE__, exception:
        if exception.message == 'No module named tests':
            raise ImportError('No module named {0}'.format(module_name))
dataset/ETHPy150Open plus500s/django-test-tools/test_tools/test_runner.py/get_test_module