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