Correct test

This commit is contained in:
Yohann D'ANELLO 2020-02-10 05:03:53 +01:00
parent f3f9c70de9
commit ac8d91ac5e
1 changed files with 1 additions and 1 deletions

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'))