mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23099 -- Removed usage of deprecated initial data in Django's test suite.
Thanks Claude Paroz for assistance with debugging the tests.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user