diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-23 15:32:30 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-23 15:32:30 -0500 |
| commit | 9710677c106948dfab96207480bee2463f067b66 (patch) | |
| tree | a63382c4fd55ad9afbee2c8a3eca335979c6920f | |
| parent | c1b221a9b913315998a1bcec2f29a9361a74d1ac (diff) | |
Fixed typo in m2m_through_regress test methods.
| -rw-r--r-- | tests/m2m_through_regress/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/m2m_through_regress/tests.py b/tests/m2m_through_regress/tests.py index b826d2399f..ca47830290 100644 --- a/tests/m2m_through_regress/tests.py +++ b/tests/m2m_through_regress/tests.py @@ -213,7 +213,7 @@ class ToFieldThroughTests(TestCase): ["<Driver: Barney Gumble>", "<Driver: Ryan Briscoe>"] ) - def test_m2m_relations_unsable_on_null_to_field(self): + def test_m2m_relations_unusable_on_null_to_field(self): nullcar = Car(make=None) msg = ( '"<Car: None>" needs to have a value for field "make" before this ' @@ -222,7 +222,7 @@ class ToFieldThroughTests(TestCase): with self.assertRaisesMessage(ValueError, msg): nullcar.drivers.all() - def test_m2m_relations_unsable_on_null_pk_obj(self): + def test_m2m_relations_unusable_on_null_pk_obj(self): msg = ( "'Car' instance needs to have a primary key value before a " "many-to-many relationship can be used." |
