summaryrefslogtreecommitdiff
path: root/tests/model_inheritance
diff options
context:
space:
mode:
authorAdam Alton <adamalton@gmail.com>2016-03-14 17:59:19 +0000
committerTim Graham <timograham@gmail.com>2016-03-14 18:55:48 -0400
commit38086c83aca881aa72bc2eba1e6eadaa76529ed0 (patch)
tree599dc34c6cd1925fe27e65672c4ec29bfe10e637 /tests/model_inheritance
parent204e00c0c57c34528157a739389b6935e4af2f36 (diff)
downloaddjango-38086c83aca881aa72bc2eba1e6eadaa76529ed0.tar.gz
Removed unnecessary filter kwarg from .get() in a test.
Diffstat (limited to 'tests/model_inheritance')
-rw-r--r--tests/model_inheritance/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py
index b856a07736..9b52b91d0e 100644
--- a/tests/model_inheritance/tests.py
+++ b/tests/model_inheritance/tests.py
@@ -233,7 +233,7 @@ class ModelInheritanceDataTests(TestCase):
def test_inherited_multiple_objects_returned_exception(self):
# MultipleObjectsReturned is also inherited.
with self.assertRaises(Place.MultipleObjectsReturned):
- Restaurant.objects.get(id__lt=12321)
+ Restaurant.objects.get()
def test_related_objects_for_inherited_models(self):
# Related objects work just as they normally do.