mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Removed unused local variables in tests.
This commit is contained in:
parent
5f52590368
commit
96d1d4e292
72 changed files with 309 additions and 339 deletions
|
@ -68,6 +68,6 @@ class OrderWithRespectToTests(TestCase):
|
|||
p2 = Post.objects.create(title='2')
|
||||
p1_1 = Post.objects.create(title="1.1", parent=p1)
|
||||
p1_2 = Post.objects.create(title="1.2", parent=p1)
|
||||
p2_1 = Post.objects.create(title="2.1", parent=p2)
|
||||
Post.objects.create(title="2.1", parent=p2)
|
||||
p1_3 = Post.objects.create(title="1.3", parent=p1)
|
||||
self.assertEqual(p1.get_post_order(), [p1_1.pk, p1_2.pk, p1_3.pk])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue