1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +00:00

Removed unnecessary filter kwarg from .get() in a test.

This commit is contained in:
Adam Alton 2016-03-14 17:59:19 +00:00 committed by Tim Graham
parent 204e00c0c5
commit 38086c83ac

View File

@ -233,7 +233,7 @@ class ModelInheritanceDataTests(TestCase):
def test_inherited_multiple_objects_returned_exception(self): def test_inherited_multiple_objects_returned_exception(self):
# MultipleObjectsReturned is also inherited. # MultipleObjectsReturned is also inherited.
with self.assertRaises(Place.MultipleObjectsReturned): with self.assertRaises(Place.MultipleObjectsReturned):
Restaurant.objects.get(id__lt=12321) Restaurant.objects.get()
def test_related_objects_for_inherited_models(self): def test_related_objects_for_inherited_models(self):
# Related objects work just as they normally do. # Related objects work just as they normally do.