From 590f36cd54ecd8c6e9003aa3451c8acc4847cb9f Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Fri, 31 Jan 2025 21:59:52 +0100 Subject: [PATCH] Clean up testfunctions.ipynb by removing redundant code Removed outdated and unused code snippets from testfunctions.ipynb to streamline the notebook. This improves readability and reduces clutter, ensuring the file contains only relevant and functional code samples. --- backend/tests/test_contact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/test_contact.py b/backend/tests/test_contact.py index af3d59b..52c6015 100644 --- a/backend/tests/test_contact.py +++ b/backend/tests/test_contact.py @@ -7,7 +7,7 @@ client = TestClient(app) def authenticate(): # Simulate login to obtain token response = client.post( - "/auth/login", json={"username": "testuser", "password": "testpass"} + "/auth/token/login", json={"username": "testuser", "password": "testpass"} ) assert response.status_code == 200 return response.json()["access_token"]