Removed CleanerVersion layer [backwards-incompatible!]

This commit is contained in:
Raphael Michel
2015-12-12 13:08:33 +01:00
parent 0c9c9dd22c
commit d133d2abff
85 changed files with 712 additions and 1089 deletions

View File

@@ -194,7 +194,7 @@ class DeadlineTest(EventTestMixin, TestCase):
response = self.client.post(
'/%s/%s/cart/add' % (self.orga.slug, self.event.slug),
{
'item_' + self.item.identity: '1',
'item_%d' % self.item.id: '1',
},
follow=True
)
@@ -213,7 +213,7 @@ class DeadlineTest(EventTestMixin, TestCase):
response = self.client.post(
'/%s/%s/cart/add' % (self.orga.slug, self.event.slug),
{
'item_' + self.item.identity: '1'
'item_%d' % self.item.id: '1'
},
follow=True
)
@@ -233,7 +233,7 @@ class DeadlineTest(EventTestMixin, TestCase):
response = self.client.post(
'/%s/%s/cart/add' % (self.orga.slug, self.event.slug),
{
'item_' + self.item.identity: '1'
'item_%d' % self.item.id: '1'
}
)
self.assertNotEqual(response.status_code, 403)
@@ -251,7 +251,7 @@ class DeadlineTest(EventTestMixin, TestCase):
response = self.client.post(
'/%s/%s/cart/add' % (self.orga.slug, self.event.slug),
{
'item_' + self.item.identity: '1'
'item_%d' % self.item.id: '1'
}
)
self.assertNotEqual(response.status_code, 403)