aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-04-04 20:49:03 +0200
committerGravatar GitHub <[email protected]>2021-04-04 20:49:03 +0200
commitb679dfbcd1dfcc7394e447f6f0e8159e9ceb9a7b (patch)
tree2e94d0e8b658b30610bf60b7796facf7723b95c3 /tests
parentconfig and constants changes (diff)
parentMerge pull request #1497 from python-discord/mbaruh-staff_info (diff)
Merge branch 'main' into limit-nominate-command-channels
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/utils/test_services.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/utils/test_services.py b/tests/bot/utils/test_services.py
index 1b48f6560..3b71022db 100644
--- a/tests/bot/utils/test_services.py
+++ b/tests/bot/utils/test_services.py
@@ -30,9 +30,9 @@ class PasteTests(unittest.IsolatedAsyncioTestCase):
"""Url with specified extension is returned on successful requests."""
key = "paste_key"
test_cases = (
- (f"https://paste_service.com/{key}.txt", "txt"),
+ (f"https://paste_service.com/{key}.txt?noredirect", "txt"),
(f"https://paste_service.com/{key}.py", "py"),
- (f"https://paste_service.com/{key}", ""),
+ (f"https://paste_service.com/{key}?noredirect", ""),
)
response = MagicMock(
json=AsyncMock(return_value={"key": key})