Fixed postgres rollback issue with fixture test
This commit is contained in:
parent
14681eaa53
commit
55fa86a97f
|
@ -79,7 +79,8 @@ class TestFixtures(TestCase):
|
||||||
'loaddata',
|
'loaddata',
|
||||||
'sequence_extra',
|
'sequence_extra',
|
||||||
ignore=True,
|
ignore=True,
|
||||||
verbosity=0
|
verbosity=0,
|
||||||
|
commit=False
|
||||||
)
|
)
|
||||||
self.assertEqual(Animal.specimens.all()[0].name, 'Lion')
|
self.assertEqual(Animal.specimens.all()[0].name, 'Lion')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue