mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-07-08 11:56:59 +00:00
test(integrations): drop redundant trailing-slash assertion
The exact-equality assert on the line above (requested_url == WEBHOOK_BASE) already implies the URL has no trailing slash, so the endswith check adds nothing.
This commit is contained in:
@@ -114,4 +114,3 @@ async def test_api_call_root_path_has_no_trailing_slash():
|
||||
assert result.get("exit_code") == 0
|
||||
requested_url = mock_client.request.call_args.args[1]
|
||||
assert requested_url == WEBHOOK_BASE
|
||||
assert not requested_url.endswith("/")
|
||||
|
||||
Reference in New Issue
Block a user