diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-30 14:17:33 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-30 14:17:33 +0200 |
| commit | 2c406818058e88a907e24bfd244418d2a55619d7 (patch) | |
| tree | b1c4891dd9830d76bc492ff7258fb3a85e32c757 /tests/proxy_models/tests.py | |
| parent | 5ff2ffa3304b2e49e17257575327f9fc08ce227e (diff) | |
Stopped calling loaddata with commit=False.
This was a stealth option only used by the tests, and it isn't useful
any more since `atomic` provides nested transactions.
Diffstat (limited to 'tests/proxy_models/tests.py')
| -rw-r--r-- | tests/proxy_models/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proxy_models/tests.py b/tests/proxy_models/tests.py index 77d2ba9a74..5cc5ef5478 100644 --- a/tests/proxy_models/tests.py +++ b/tests/proxy_models/tests.py @@ -358,7 +358,7 @@ class ProxyModelTests(TestCase): ) def test_proxy_load_from_fixture(self): - management.call_command('loaddata', 'mypeople.json', verbosity=0, commit=False) + management.call_command('loaddata', 'mypeople.json', verbosity=0) p = MyPerson.objects.get(pk=100) self.assertEqual(p.name, 'Elvis Presley') |
