diff options
author | 2021-11-05 10:55:09 +0530 | |
---|---|---|
committer | 2021-11-05 10:55:09 +0530 | |
commit | 876daaf6eb34e620710473c0311e23f36fd4e7eb (patch) | |
tree | 734d555cb1a530397ad256044ec68cc30fd3404c | |
parent | Fix: Conflicting migrations. (diff) |
Update test cases to adhere to recent changes made that removed hosts.
-rw-r--r-- | pydis_site/apps/api/tests/test_off_topic_channel_names.py | 4 |
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) |