diff --git a/tests/regressiontests/m2m_through_regress/tests.py b/tests/regressiontests/m2m_through_regress/tests.py
index 458c194..6f76f7b 100644
a
|
b
|
class ToFieldThroughTests(TestCase):
|
136 | 136 | ["<Car: Toyota>"] |
137 | 137 | ) |
138 | 138 | |
| 139 | def test_to_field_clear_reverse(self): |
| 140 | self.driver.car_set.clear() |
| 141 | self.assertQuerysetEqual( |
| 142 | self.driver.car_set.all(),[]) |
| 143 | |
| 144 | def test_to_field_clear(self): |
| 145 | self.car.drivers.clear() |
| 146 | self.assertQuerysetEqual( |
| 147 | self.car.drivers.all(),[]) |
| 148 | |
139 | 149 | class ThroughLoadDataTestCase(TestCase): |
140 | 150 | fixtures = ["m2m_through"] |