diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-09 08:12:50 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-09 08:12:50 +0000 |
| commit | a904e55859470944c006d87665074e3574da7b52 (patch) | |
| tree | bf5e56c183fa5ab8a5de4bb69ffdf82b678bebee /tests | |
| parent | 2cadc6b10aea168a3da33313e279d56950650b39 (diff) | |
Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/custom_columns/tests.py | 4 | ||||
| -rw-r--r-- | tests/regressiontests/custom_columns_regress/tests.py | 6 | ||||
| -rw-r--r-- | tests/regressiontests/file_storage/tests.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/modeltests/custom_columns/tests.py b/tests/modeltests/custom_columns/tests.py index e8ec21f06f..f38f087c89 100644 --- a/tests/modeltests/custom_columns/tests.py +++ b/tests/modeltests/custom_columns/tests.py @@ -9,7 +9,7 @@ class CustomColumnsTests(TestCase): a1 = Author.objects.create(first_name="John", last_name="Smith") a2 = Author.objects.create(first_name="Peter", last_name="Jones") - art = Article.objects.create(headline="Django lets you build web apps easily") + art = Article.objects.create(headline="Django lets you build Web apps easily") art.authors = [a1, a2] # Although the table and column names on Author have been set to custom @@ -58,7 +58,7 @@ class CustomColumnsTests(TestCase): # Get the articles for an author self.assertQuerysetEqual( a.article_set.all(), [ - "Django lets you build web apps easily", + "Django lets you build Web apps easily", ], lambda a: a.headline ) diff --git a/tests/regressiontests/custom_columns_regress/tests.py b/tests/regressiontests/custom_columns_regress/tests.py index 0587ab7070..8507601ef9 100644 --- a/tests/regressiontests/custom_columns_regress/tests.py +++ b/tests/regressiontests/custom_columns_regress/tests.py @@ -22,7 +22,7 @@ class CustomColumnRegression(TestCase): self.authors = [self.a1, self.a2] def test_basic_creation(self): - art = Article(headline='Django lets you build web apps easily', primary_author=self.a1) + art = Article(headline='Django lets you build Web apps easily', primary_author=self.a1) art.save() art.authors = [self.a1, self.a2] @@ -68,7 +68,7 @@ class CustomColumnRegression(TestCase): ) def test_m2m_table(self): - art = Article.objects.create(headline='Django lets you build web apps easily', primary_author=self.a1) + art = Article.objects.create(headline='Django lets you build Web apps easily', primary_author=self.a1) art.authors = self.authors self.assertQuerysetEqual( art.authors.all().order_by('last_name'), @@ -76,7 +76,7 @@ class CustomColumnRegression(TestCase): ) self.assertQuerysetEqual( self.a1.article_set.all(), - ['<Article: Django lets you build web apps easily>'] + ['<Article: Django lets you build Web apps easily>'] ) self.assertQuerysetEqual( art.authors.filter(last_name='Jones'), diff --git a/tests/regressiontests/file_storage/tests.py b/tests/regressiontests/file_storage/tests.py index f83b26792f..88d4f77810 100644 --- a/tests/regressiontests/file_storage/tests.py +++ b/tests/regressiontests/file_storage/tests.py @@ -193,7 +193,7 @@ class FileStorageTests(unittest.TestCase): def test_file_url(self): """ - File storage returns a url to access a given file from the web. + File storage returns a url to access a given file from the Web. """ self.assertEqual(self.storage.url('test.file'), '%s%s' % (self.storage.base_url, 'test.file')) |
