From 35f78f2960e0121e8508c3703bea8b8c22ad651e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 1 Feb 2018 17:06:40 +0100 Subject: Tests: adapt sheet display test to new UI --- ishtar_common/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/tests.py') diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 7c8b2fd5c..a46a81070 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -1136,11 +1136,11 @@ class IshtarBasicTest(TestCase): c.login(username=self.my_admin.username, password=self.password) response = c.get(reverse('show-person', kwargs={'pk': person.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) response = c.get(reverse('show-organization', kwargs={'pk': company.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) def test_town_cache(self): models.Town.objects.create(name="Sin City", numero_insee="99999") -- cgit v1.2.3