diff options
-rw-r--r-- | archaeological_context_records/tests.py | 2 | ||||
-rw-r--r-- | archaeological_files/tests.py | 2 | ||||
-rw-r--r-- | archaeological_finds/tests.py | 2 | ||||
-rw-r--r-- | archaeological_operations/tests.py | 8 | ||||
-rw-r--r-- | ishtar_common/tests.py | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py index b0f4b8f9e..d93662a27 100644 --- a/archaeological_context_records/tests.py +++ b/archaeological_context_records/tests.py @@ -379,7 +379,7 @@ class ContextRecordTest(ContextRecordInit, TestCase): c.login(username=self.username, password=self.password) response = c.get(reverse('show-contextrecord', kwargs={'pk': obj.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) def test_redundant_dating_clean(self): obj = self.context_records[0] diff --git a/archaeological_files/tests.py b/archaeological_files/tests.py index 8a1069d51..8ed85610e 100644 --- a/archaeological_files/tests.py +++ b/archaeological_files/tests.py @@ -212,7 +212,7 @@ class FileTest(TestCase, FileInit): self.login_as_superuser() response = self.client.get(reverse(url, kwargs={'pk': pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) class FileOperationTest(TestCase, OperationInitTest, FileInit): diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index a570e01cb..7f4ce388a 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -461,7 +461,7 @@ class FindTest(FindInit, TestCase): c.login(username=self.username, password=self.password) response = self.client.get(reverse('show-find', kwargs={'pk': obj.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) def test_delete(self): self.create_finds(force=True) diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 21b7da2a0..6ad800e23 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -1055,11 +1055,11 @@ class OperationTest(TestCase, OperationInitTest): c.login(username=self.username, password=self.password) response = c.get(reverse('show-operation', kwargs={'pk': operation.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-operationsource', kwargs={'pk': source.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) def test_show_pdf(self): operation = self.operations[0] @@ -1125,7 +1125,7 @@ class OperationTest(TestCase, OperationInitTest): c.login(username=self.username, password=self.password) response = c.get(reverse('show-operation', kwargs={'pk': operation.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) self.assertIn(u"Marmotte".encode('utf-8'), response.content) self.assertIn(u"État d'éveil".encode('utf-8'), response.content) self.assertIn(u"réveillée".encode('utf-8'), response.content) @@ -1138,7 +1138,7 @@ class OperationTest(TestCase, OperationInitTest): operation.save() response = c.get(reverse('show-operation', kwargs={'pk': operation.pk})) self.assertEqual(response.status_code, 200) - self.assertIn('class="sheet"', response.content) + self.assertIn('class="card sheet"', response.content) self.assertNotIn(u"Marmotte".encode('utf-8'), response.content) 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") |