From a12ba8a117f6d4a712a90cc14c99633d84a3bd91 Mon Sep 17 00:00:00 2001 From: Bryce Willey Date: Tue, 21 Apr 2026 11:47:42 -0400 Subject: [PATCH] Trying to figure out why tests are failing --- efile_app/efile/tests/tests.py | 4 +++- efile_app/uv.lock | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/efile_app/efile/tests/tests.py b/efile_app/efile/tests/tests.py index b9f09aa..59d68dc 100644 --- a/efile_app/efile/tests/tests.py +++ b/efile_app/efile/tests/tests.py @@ -192,12 +192,14 @@ def test_profile_api_authenticated_user(self, client, user): """Test profile API returns user data when authenticated.""" username = get_test_username() password = get_test_password() - client.post( + response_one = client.post( "/api/auth/login/", content_type="application/json", data=json.dumps({"username": username, "password": password, "jurisdiction": "illinois"}), ) + assert response_one.status_code == 200 + response = client.get( "/api/auth/profile/", {"jurisdiction": "illinois"}, HTTP_X_REQUESTED_WITH="XMLHttpRequest" ) diff --git a/efile_app/uv.lock b/efile_app/uv.lock index 620505d..042b6c6 100644 --- a/efile_app/uv.lock +++ b/efile_app/uv.lock @@ -8,6 +8,10 @@ resolution-markers = [ "python_full_version < '3.13' and sys_platform != 'win32'", ] +[options] +exclude-newer = "2026-04-19T15:47:24.300481Z" +exclude-newer-span = "P2D" + [[package]] name = "annotated-types" version = "0.7.0"