Fixed typo in tests/many_to_many/tests.py.

This commit is contained in:
Rajesh Veeranki 2017-10-31 21:21:02 +07:00 committed by Tim Graham
parent 617686e226
commit 5e1a356060
1 changed files with 2 additions and 2 deletions

View File

@ -27,10 +27,10 @@ class ManyToManyTests(TestCase):
def test_add(self): def test_add(self):
# Create an Article. # Create an Article.
a5 = Article(headline='Django lets you reate Web apps easily') a5 = Article(headline='Django lets you create Web apps easily')
# You can't associate it with a Publication until it's been saved. # You can't associate it with a Publication until it's been saved.
msg = ( msg = (
'"<Article: Django lets you reate Web apps easily>" needs to have ' '"<Article: Django lets you create Web apps easily>" needs to have '
'a value for field "id" before this many-to-many relationship can be used.' 'a value for field "id" before this many-to-many relationship can be used.'
) )
with self.assertRaisesMessage(ValueError, msg): with self.assertRaisesMessage(ValueError, msg):