Exemplo n.º 1
0
def list_tests_from_module_path(module_path):
    if not os.path.exists(module_path):
        abort(501)

    tests = list_tests(module_path)
    session["tests"] = tests
    return jsonify({"tests": tests})
Exemplo n.º 2
0
def list_tests_from_module_path(module_path):
    if not os.path.exists(module_path):
        abort(501)

    tests = list_tests(module_path)
    session["tests"] = tests
    return jsonify({"tests": tests})
Exemplo n.º 3
0
def list_tests_from_module_name(module_name):
    tests = list_tests(module_name)
    session["tests"] = tests
    return jsonify({"tests": tests})
Exemplo n.º 4
0
def list_tests_from_module_name(module_name):
    tests = list_tests(module_name)
    session["tests"] = tests
    return jsonify({"tests": tests})