Skip to content

Commit 7edf084

Browse files
authored
Fix url used to patch schemathesis (#1125)
1 parent a18893a commit 7edf084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/bases/renku_data_services/data_api/test_schemathesis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async def test_api_schemathesis(
121121
# schemathesis does not currently allow accepting status 204 for negative data, so we ignore that check
122122
checks = tuple(c for c in checks if c.__name__ != "negative_data_rejection")
123123

124-
if req_kwargs.get("url") == "/api/data/repositories" and res.status_code == 200:
124+
if req_kwargs.get("url") == "/api/data/repository" and res.status_code == 200:
125125
# schemathesis constructs invalid negative cases affecting the /repositories endpoint
126126
checks = tuple(c for c in checks if c.__name__ != "negative_data_rejection")
127127

0 commit comments

Comments
 (0)