Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colinbowen committed Dec 12, 2024
1 parent 492f6ec commit e8ff1ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/tests/test_middlewares.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
b"Test Response",
json.loads(
"""{"event": "api_request", "user_id": "test_user", "route": "http://localhost/test_route",
"method": "GET", "caller_function": "dynamic_route", "caller_module": "app.tests.test_middlewares"}"""
"method": "GET"}"""
),
),
(
Expand All @@ -31,7 +31,7 @@
b"Anonymous Response",
json.loads(
"""{"event": "api_request", "user_id": "anonymous", "route": "http://localhost/anonymous_route",
"method": "GET", "caller_function": "dynamic_route", "caller_module": "app.tests.test_middlewares"}"""
"method": "GET"}"""
),
),
(
Expand All @@ -42,7 +42,7 @@
b"Post Response",
json.loads(
"""{"event": "api_request", "user_id": "test_user", "route": "http://localhost/post_route",
"method": "POST", "caller_function": "dynamic_route", "caller_module": "app.tests.test_middlewares"}"""
"method": "POST"}"""
),
),
],
Expand Down

0 comments on commit e8ff1ed

Please sign in to comment.