aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2021-11-05 10:55:09 +0530
committerGravatar RohanJnr <[email protected]>2021-11-05 10:55:09 +0530
commit876daaf6eb34e620710473c0311e23f36fd4e7eb (patch)
tree734d555cb1a530397ad256044ec68cc30fd3404c /pydis_site/apps
parentFix: Conflicting migrations. (diff)
Update test cases to adhere to recent changes made that removed hosts.
Diffstat (limited to 'pydis_site/apps')
-rw-r--r--pydis_site/apps/api/tests/test_off_topic_channel_names.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/api/tests/test_off_topic_channel_names.py b/pydis_site/apps/api/tests/test_off_topic_channel_names.py
index 354cda9c..2d273756 100644
--- a/pydis_site/apps/api/tests/test_off_topic_channel_names.py
+++ b/pydis_site/apps/api/tests/test_off_topic_channel_names.py
@@ -112,7 +112,7 @@ class ListTests(AuthenticatedAPITestCase):
def test_returns_inactive_ot_names(self):
"""Return inactive off topic names."""
- url = reverse('bot:offtopicchannelname-list')
+ url = reverse('api:bot:offtopicchannelname-list')
response = self.client.get(f"{url}?active=false")
self.assertEqual(response.status_code, 200)
@@ -123,7 +123,7 @@ class ListTests(AuthenticatedAPITestCase):
def test_returns_active_ot_names(self):
"""Return active off topic names."""
- url = reverse('bot:offtopicchannelname-list')
+ url = reverse('api:bot:offtopicchannelname-list')
response = self.client.get(f"{url}?active=true")
self.assertEqual(response.status_code, 200)