Exemplo n.º 1
0
def _discover_tests(root, pattern):
    global _discovery_enabled
    atexit.unregister(_run_at_exit)
        _discovery_enabled = False
        _discover.discover_tests(root,pattern)
        _discovery_enabled = True
Exemplo n.º 2
0
def test_pyinq(**kwargs):
    atexit.unregister(_run_at_exit)
    run_tests()
Exemplo n.º 3
0
def test_pyinq(**kwargs):
    atexit.unregister(_run_at_exit)
    run_tests()
Exemplo n.º 4
0
def _discover_tests(root, pattern):
    global _discovery_enabled
    atexit.unregister(_run_at_exit)
    _discovery_enabled = False
    _discover.discover_tests(root, pattern)
    _discovery_enabled = True
Exemplo n.º 5
0
def discover_tests_cmd(root, pattern=".*", **args):
    if _discovery_enabled:
        atexit.unregister(_run_at_exit)
        _discover_tests(root,pattern)
        run_all(args)
Exemplo n.º 6
0
def discover_tests_api(root, pattern=".*", suite_name=None):
    if _discovery_enabled:
        atexit.unregister(_run_at_exit)
        _discover_tests(root,pattern)
        return tags.get_suite(suite_name)