예제 #1
0
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))
예제 #2
0
파일: __init__.py 프로젝트: baylee-d/osf.io
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))