Skip to content

Commit

Permalink
use TransactionTestCase (thanks @smn)
Browse files Browse the repository at this point in the history
  • Loading branch information
miltontony committed Nov 3, 2014
1 parent a7304f1 commit 19db552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unicoremc/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
import responses

from django.test import TestCase
from django.test import TransactionTestCase
from django.contrib.auth.models import User
from django.conf import settings

Expand All @@ -12,7 +12,7 @@
from elasticgit.manager import StorageManager


class UnicoremcTestCase(TestCase, ModelBaseTest):
class UnicoremcTestCase(TransactionTestCase, ModelBaseTest):

def mk_test_repos(self):
self.user = User.objects.create(
Expand Down

0 comments on commit 19db552

Please sign in to comment.