Skip to content

Commit 952da11

Browse files
fix test url
1 parent 2a08da2 commit 952da11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/integrations/django/asgi/test_asgi.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ async def test_http_route(
215215

216216
items = capture_items("span")
217217

218-
comm = HttpCommunicator(application, "GET", "async_message")
218+
comm = HttpCommunicator(application, "GET", "/async_message")
219219
await comm.get_response()
220220
await comm.wait()
221221

222222
sentry_sdk.flush()
223223
(segment,) = (item.payload for item in items if item.payload.get("is_segment"))
224-
assert segment["attributes"][SPANDATA.HTTP_ROUTE] == "async_message"
224+
assert segment["attributes"][SPANDATA.HTTP_ROUTE] == "/async_message"
225225

226226

227227
@pytest.mark.parametrize("application", APPS)

0 commit comments

Comments
 (0)