Skip to content
This repository was archived by the owner on Nov 26, 2018. It is now read-only.

Commit 03cd744

Browse files
committed
Fixes tests
1 parent 3ccc9c3 commit 03cd744

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

botbot/apps/bots/tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ def test_request_channel_form_duplicate_channel_submission(self):
248248
})
249249
self.assertEqual(response.status_code, 200)
250250
self.assertFormError(response, "form", "channel_name",
251-
"Sorry, this channel is already being monitored.")
251+
'<a href="{}">{}</a> is already being monitored.'.format(
252+
self.public_channel.get_absolute_url(), self.public_channel.name))
252253

253254
def test_request_channel_form_invalid_formatted_server(self):
254255
url = reverse("request_channel")

0 commit comments

Comments
 (0)