in server/server.py [0:0]
def run():
test_location = os.getenv("TESTS_DIR")
os.chdir(test_location)
command = "pipenv run pytest"
subprocess.Popen(
command, shell=True
)
resp = jsonify("Success")
resp.status_code = 200
return resp