diff --git a/app/tests/testProject.py b/app/tests/testProject.py index 29b4a6b..4fef2ba 100644 --- a/app/tests/testProject.py +++ b/app/tests/testProject.py @@ -45,7 +45,7 @@ def test_remove_project(client): # add some data # Remove project and test response + test remove all data response = client.get('/delete_project/'+str(project.id)) - assert response.status_code == 200 + assert response.status_code == 302 response = client.get('/delete_project/'+str(1)) assert response.status_code == 404