From 9710677c106948dfab96207480bee2463f067b66 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 23 Dec 2016 15:32:30 -0500 Subject: [PATCH] Fixed typo in m2m_through_regress test methods. --- tests/m2m_through_regress/tests.py | 4 ++-- 1 file 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): ["", ""] ) - 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 = ( '"" 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."