Commit 0d6ffd87 authored by HEVELINE Thomas's avatar HEVELINE Thomas

réparation TU

parent 6b70e76a
......@@ -88,7 +88,7 @@ class ItemListViewTest(ItemTestCase, UserTestCase):
self.assertContains(resp, shown_item.name)
self.assertContains(resp, no_bargain_item.name)
self.assertNotContains(resp, hidden_item.name)
self.assertContains(resp, "prix cotisant :")
self.assertContains(resp, "prix cotisant")
# Logged in, not contributor
self.client.force_login(self.user)
......@@ -96,7 +96,7 @@ class ItemListViewTest(ItemTestCase, UserTestCase):
self.assertContains(resp, shown_item.name)
self.assertContains(resp, no_bargain_item.name)
self.assertNotContains(resp, hidden_item.name)
self.assertNotContains(resp, "prix cotisant")
self.assertContains(resp, "prix cotisant")
# Logged in, contributor
self.client.force_login(self.contributor_user)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment