Removed unnecessary filter kwarg from .get() in a test.
This commit is contained in:
parent
204e00c0c5
commit
38086c83ac
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue