From 72a9b7db31bc5397b2f8f79c4552a748f9bd0a3a Mon Sep 17 00:00:00 2001 From: gerwoud Date: Mon, 11 Mar 2024 16:08:11 +0100 Subject: [PATCH] removed some test files --- backend/project/endpoints/projects/endpoint_parser.py | 1 - backend/tests/endpoints/project_test.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/project/endpoints/projects/endpoint_parser.py b/backend/project/endpoints/projects/endpoint_parser.py index 7815bf5e..2f5be9bb 100644 --- a/backend/project/endpoints/projects/endpoint_parser.py +++ b/backend/project/endpoints/projects/endpoint_parser.py @@ -39,7 +39,6 @@ def parse_project_params(): """ args = parser.parse_args() result_dict = {} - print(args) for key, value in args.items(): if value is not None: diff --git a/backend/tests/endpoints/project_test.py b/backend/tests/endpoints/project_test.py index 50d00d07..54cedbf2 100644 --- a/backend/tests/endpoints/project_test.py +++ b/backend/tests/endpoints/project_test.py @@ -57,7 +57,7 @@ def test_remove_project(db_session, client, course_ad, course_teacher_ad, projec project_json["assignment_file"] = open("testzip.zip", "rb") # post the project response = client.post("/projects", data=project_json) - print(response) + # check if the project with the id is present project_id = response.json["data"]["project_id"]