瀏覽代碼

Refs #7488, Refs #19524 -- Removed obsolete ModelInheritanceTest.test_issue_7488() test.

Obsolete since e9c24bef74e55729b190cf07e0ac452aa4c86fcd.
Albert Defler 3 年之前
父節點
當前提交
18245b948b
共有 1 個文件被更改,包括 0 次插入10 次删除
  1. 0 10
      tests/model_inheritance_regress/tests.py

+ 0 - 10
tests/model_inheritance_regress/tests.py

@@ -246,16 +246,6 @@ class ModelInheritanceTest(TestCase):
         self.assertEqual(r.id, orig_id)
         self.assertEqual(r.id, r.place_ptr_id)
 
-    def test_issue_7488(self):
-        # Regression test for #7488. This looks a little crazy, but it's the
-        # equivalent of what the admin interface has to do for the edit-inline
-        # case.
-        suppliers = Supplier.objects.filter(
-            restaurant=Restaurant(name="xx", address="yy")
-        )
-        suppliers = list(suppliers)
-        self.assertEqual(suppliers, [])
-
     def test_issue_11764(self):
         """
         Regression test for #11764