1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

View File

@ -27,10 +27,10 @@ class ManyToManyTests(TestCase):
def test_add(self):
# 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.
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.'
)
with self.assertRaisesMessage(ValueError, msg):