def test_admin(): """Run the Admin test suite.""" # test_module(module="admin_tests/") module = "admin_tests/" module_fmt = ' '.join(module) if isinstance(module, list) else module admin_tasks.manage('test {}'.format(module_fmt))
def test_admin(ctx): """Run the Admin test suite.""" # test_module(ctx, module="admin_tests/") module = 'admin_tests/' module_fmt = ' '.join(module) if isinstance(module, list) else module admin_tasks.manage(ctx, 'test {}'.format(module_fmt))