diff options
author | 2019-08-09 14:33:13 -0700 | |
---|---|---|
committer | 2019-09-21 10:38:41 -0700 | |
commit | 7b3af30860607be1328a61ec08eeaea1c36cc0d1 (patch) | |
tree | 6df8fe5d9f45abc457375c3ca2898fdc7f25519f /pydis_site | |
parent | Add test for certain unicode characters in ot names (diff) |
Remove redundant off-topic names list test
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/api/tests/test_off_topic_channel_names.py | 7 |
1 files changed, 0 insertions, 7 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 ae839484..9ab71409 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 @@ -103,13 +103,6 @@ class CreationTests(APISubdomainTestCase): response = self.client.post(f'{url}?name={name}') self.assertEqual(response.status_code, 201) - def test_name_in_full_list(self): - url = reverse('bot:offtopicchannelname-list', host='api') - response = self.client.get(url) - - self.assertEqual(response.status_code, 200) - self.assertEqual(response.json(), [self.name]) - def test_returns_400_for_missing_name_param(self): url = reverse('bot:offtopicchannelname-list', host='api') response = self.client.post(url) |