diff options
author | Tim Graham <timograham@gmail.com> | 2014-07-26 13:15:54 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-08-08 14:01:59 -0400 |
commit | f53b1c779b9a6258cfb61ef00ed5ec8340b96d52 (patch) | |
tree | 3a9f7a28ec0ec2f4c9de473db4c780161649aa4d /tests/fixtures_model_package | |
parent | 73ff4498aab1df286cf9aeb2ad9d801ac8e0263e (diff) | |
download | django-f53b1c779b9a6258cfb61ef00ed5ec8340b96d52.tar.gz |
Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.
Thanks Claude Paroz for assistance with debugging the tests.
Diffstat (limited to 'tests/fixtures_model_package')
-rw-r--r-- | tests/fixtures_model_package/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fixtures_model_package/tests.py b/tests/fixtures_model_package/tests.py index 9e41ee1cdf..506e5846cc 100644 --- a/tests/fixtures_model_package/tests.py +++ b/tests/fixtures_model_package/tests.py @@ -67,6 +67,7 @@ class FixtureTestCase(TestCase): def test_initial_data(self): "Fixtures can load initial data into models defined in packages" # migrate introduces 1 initial data object from initial_data.json + # this behavior is deprecated and will be removed in Django 1.9 self.assertQuerysetEqual( Book.objects.all(), [ 'Achieving self-awareness of Python programs' |