1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-11-27 00:47:10 +00:00

Correct test

This commit is contained in:
Yohann D'ANELLO 2020-02-10 05:03:53 +01:00
parent f3f9c70de9
commit ac8d91ac5e

View File

@ -54,7 +54,7 @@ class TemplateTests(TestCase):
'admin:media_media_change', 'admin:media_media_change',
args=[self.dummy_media1.id], args=[self.dummy_media1.id],
), data=data) ), data=data)
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 302)
def test_media_emprunt_changelist(self): def test_media_emprunt_changelist(self):
response = self.client.get(reverse('admin:media_emprunt_changelist')) response = self.client.get(reverse('admin:media_emprunt_changelist'))