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
1 changed files with 1 additions and 1 deletions

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.