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:
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
Block a user