mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-23 00:13:32 +01:00
Wrong method to test the url
Forgot that Travis urls have the 'http://testserver' part at the front
This commit is contained in:
parent
a842d1a9c3
commit
3ffe505f29
@ -21,6 +21,6 @@ class TestSavingSharedQuery(TestCase):
|
||||
'shared':'on',
|
||||
'query_encoded':'KGRwMApWZmlsdGVyaW5nCnAxCihkcDIKVnN0YXR1c19faW4KcDMKKGxwNApJMQphSTIKYUkzCmFzc1Zzb3J0aW5nCnA1ClZjcmVhdGVkCnA2CnMu'})
|
||||
self.assertEqual(response.status_code, 302)
|
||||
self.assertEqual(response.url, '/helpdesk/tickets/?saved_query=1')
|
||||
self.assertTrue('/helpdesk/tickets/?saved_query=1' in response.url)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user