diff options
| author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2014-03-02 15:25:53 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-03 07:38:09 -0500 |
| commit | 0d912258921a442c48d5787228db2db5af7e8fa5 (patch) | |
| tree | f6826425de5bca2498c46e5242b870282a34eda2 /tests/template_tests | |
| parent | 6acaa5238668593d6d854b28dbfa65e95796585c (diff) | |
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
Diffstat (limited to 'tests/template_tests')
| -rw-r--r-- | tests/template_tests/test_loaders.py | 2 | ||||
| -rw-r--r-- | tests/template_tests/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/test_loaders.py b/tests/template_tests/test_loaders.py index f89b9803e4..d2227878f0 100644 --- a/tests/template_tests/test_loaders.py +++ b/tests/template_tests/test_loaders.py @@ -117,7 +117,7 @@ class EggLoaderTest(TestCase): class CachedLoader(TestCase): def test_templatedir_caching(self): "Check that the template directories form part of the template cache key. Refs #13573" - # Retrive a template specifying a template directory to check + # Retrieve a template specifying a template directory to check t1, name = loader.find_template('test.html', (os.path.join(os.path.dirname(upath(__file__)), 'templates', 'first'),)) # Now retrieve the same template name, but from a different directory t2, name = loader.find_template('test.html', (os.path.join(os.path.dirname(upath(__file__)), 'templates', 'second'),)) diff --git a/tests/template_tests/tests.py b/tests/template_tests/tests.py index 1a0e0d4456..cfe2b5b480 100644 --- a/tests/template_tests/tests.py +++ b/tests/template_tests/tests.py @@ -233,7 +233,7 @@ class TemplateLoaderTests(TestCase): self.assertTrue(template_name.endswith(load_name), 'Template loaded by filesystem loader has incorrect name for debug page: %s' % template_name) - # Aso test the cached loader, since it overrides load_template + # Also test the cached loader, since it overrides load_template cache_loader = cached.Loader(('',)) cache_loader._cached_loaders = loader.template_source_loaders loader.template_source_loaders = (cache_loader,) |
