Move testdummy plugin to the test directory

This commit is contained in:
Raphael Michel
2015-06-03 18:14:05 +02:00
parent fad8605aa7
commit 6c3df1e3f5
7 changed files with 12 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ class CartTest(CartTestMixin, TestCase):
self.assertFalse(CartPosition.objects.current.filter(user=self.user, event=self.event).exists())
def test_restriction_failed(self):
self.event.plugins = 'pretix.plugins.testdummy'
self.event.plugins = 'tests.testdummy'
self.event.save()
self.event.settings.testdummy_available = 'yes'
response = self.client.post('/%s/%s/cart/add' % (self.orga.slug, self.event.slug), {
@@ -343,7 +343,7 @@ class CartTest(CartTestMixin, TestCase):
self.assertEqual(objs[0].price, 23)
def test_restriction_ok(self):
self.event.plugins = 'pretix.plugins.testdummy'
self.event.plugins = 'tests.testdummy'
self.event.save()
self.event.settings.testdummy_available = 'no'
response = self.client.post('/%s/%s/cart/add' % (self.orga.slug, self.event.slug), {