Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlewis committed Nov 28, 2016
1 parent b2645c9 commit 5ddaaf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deletion_side_effects/tests/test_deletion_side_effects.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django.contrib.auth.models import User
from django.contrib.contenttypes.models import ContentType
from django.test import SimpleTestCase
from django.test import TransactionTestCase
from django_dynamic_fixture import G
from mock import Mock

Expand All @@ -10,7 +10,7 @@
)


class TestGatherDeletionSideEffects(SimpleTestCase):
class TestGatherDeletionSideEffects(TransactionTestCase):
def setUp(self):
_DELETION_SIDE_EFFECTS.clear()

Expand Down Expand Up @@ -120,7 +120,7 @@ def get_side_effect_message(self, side_effect_objs):
self.assertEquals(set(side_effects[1]['side_effect_objs']), set(users))


class TestRegisterDeletionSideEffects(SimpleTestCase):
class TestRegisterDeletionSideEffects(TransactionTestCase):
def setUp(self):
_DELETION_SIDE_EFFECTS.clear()

Expand Down

0 comments on commit 5ddaaf0

Please sign in to comment.