Correct test
This commit is contained in:
parent
f3f9c70de9
commit
ac8d91ac5e
|
@ -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'))
|
||||||
|
|
Loading…
Reference in New Issue