diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-01 17:06:40 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-01 17:06:40 +0100 |
commit | 2ed9c95849853edbb39f484821b5df8f3a43ec50 (patch) | |
tree | 197d0907b57c7ff70d082fa15e5e0b1e1a9cd15e /ishtar_common | |
parent | 0a13798b84fc6cd1fc977c32a5479420e7656d10 (diff) | |
download | Ishtar-2ed9c95849853edbb39f484821b5df8f3a43ec50.tar.bz2 Ishtar-2ed9c95849853edbb39f484821b5df8f3a43ec50.zip |
Tests: adapt sheet display test to new UI
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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") |