mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +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:
parent
73ff4498aa
commit
f53b1c779b
15 changed files with 472 additions and 3 deletions
1
tests/fixtures/tests.py
vendored
1
tests/fixtures/tests.py
vendored
|
@ -69,6 +69,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase):
|
|||
|
||||
def test_initial_data(self):
|
||||
# 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(), [
|
||||
'<Book: Achieving self-awareness of Python programs>'
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue