Skip to content

Commit 876daaf

Browse files
committed
Update test cases to adhere to recent changes made that removed hosts.
1 parent 2b95db6 commit 876daaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydis_site/apps/api/tests/test_off_topic_channel_names.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_running_out_of_names_with_random_parameter(self):
112112

113113
def test_returns_inactive_ot_names(self):
114114
"""Return inactive off topic names."""
115-
url = reverse('bot:offtopicchannelname-list')
115+
url = reverse('api:bot:offtopicchannelname-list')
116116
response = self.client.get(f"{url}?active=false")
117117

118118
self.assertEqual(response.status_code, 200)
@@ -123,7 +123,7 @@ def test_returns_inactive_ot_names(self):
123123

124124
def test_returns_active_ot_names(self):
125125
"""Return active off topic names."""
126-
url = reverse('bot:offtopicchannelname-list')
126+
url = reverse('api:bot:offtopicchannelname-list')
127127
response = self.client.get(f"{url}?active=true")
128128

129129
self.assertEqual(response.status_code, 200)

0 commit comments

Comments
 (0)