mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-05 02:45:28 +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:
parent
91fd1041ce
commit
e54a4ea2d4
1 changed files with 0 additions and 1 deletions
|
|
@ -114,4 +114,3 @@ async def test_api_call_root_path_has_no_trailing_slash():
|
||||||
assert result.get("exit_code") == 0
|
assert result.get("exit_code") == 0
|
||||||
requested_url = mock_client.request.call_args.args[1]
|
requested_url = mock_client.request.call_args.args[1]
|
||||||
assert requested_url == WEBHOOK_BASE
|
assert requested_url == WEBHOOK_BASE
|
||||||
assert not requested_url.endswith("/")
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue