summaryrefslogtreecommitdiff
path: root/tests/m2m_regress
diff options
context:
space:
mode:
Diffstat (limited to 'tests/m2m_regress')
-rw-r--r--tests/m2m_regress/tests.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/m2m_regress/tests.py b/tests/m2m_regress/tests.py
index d1f85ace3e..105e41b644 100644
--- a/tests/m2m_regress/tests.py
+++ b/tests/m2m_regress/tests.py
@@ -97,15 +97,3 @@ class M2MRegressionTests(TestCase):
# causes a TypeError in add_lazy_relation
m1 = RegressionModelSplit(name='1')
m1.save()
-
- def test_m2m_filter(self):
- worksheet = Worksheet.objects.create(id=1)
- line_hi = Line.objects.create(name="hi")
- line_bye = Line.objects.create(name="bye")
-
- worksheet.lines = [line_hi, line_bye]
- hi = worksheet.lines.filter(name="hi")
-
- worksheet.lines = hi
- self.assertEqual(1, worksheet.lines.count())
- self.assertEqual(1, hi.count())