Revision 39c542df
b/ui/userdata/tests.py | ||
---|---|---|
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
# |
34 | 34 |
|
35 |
from django.test import TestCase |
|
35 |
from django.test import TransactionTestCase
|
|
36 | 36 |
from django.conf import settings |
37 | 37 |
from django.test.client import Client |
38 | 38 |
from django.core.urlresolvers import clear_url_caches |
... | ... | |
50 | 50 |
request['HTTP_X_AUTH_TOKEN'] = '46e427d657b20defe352804f0eb6f8a2' |
51 | 51 |
return super(AaiClient, self).request(**request) |
52 | 52 |
|
53 |
class TestRestViews(TestCase): |
|
53 |
class TestRestViews(TransactionTestCase):
|
|
54 | 54 |
|
55 | 55 |
fixtures = ['users'] |
56 | 56 |
|
Also available in: Unified diff