Skip to content

Commit 291542d

Browse files
tests: fix uuid parsing from url
1 parent 2aadf79 commit 291542d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def test_create_results_post(
8080

8181
# Extract UUID from response
8282
url_parts = response.request.path.rsplit("/")
83-
uuid = url_parts[-1]
84-
url_rest = "/".join(url_parts[:-1])
83+
uuid = url_parts[-2]
84+
url_rest = "/".join(url_parts[:-2])
8585
assert UUID(uuid).version == 4
8686
assert url_rest == "/create/results"
8787

0 commit comments

Comments
 (0)