示例#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})
示例#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})
示例#3
0
def list_tests_from_module_name(module_name):
    tests = list_tests(module_name)
    session["tests"] = tests
    return jsonify({"tests": tests})
示例#4
0
def list_tests_from_module_name(module_name):
    tests = list_tests(module_name)
    session["tests"] = tests
    return jsonify({"tests": tests})