diff options
| author | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-09-11 18:05:39 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-09-11 18:05:39 +0700 |
| commit | 3203f684e8e51cbfa1b39d7b6a56e340981ad4d5 (patch) | |
| tree | b5c7a9f639400717e1c6cf1ae8f8ac3a03ebbcf1 | |
| parent | 701c1a11bc1ea94e48199f4c0711472fbcfd99c3 (diff) | |
Fixed failing test introduced by 87d2750b39.
The {% ssi %} tag in Django 1.4 doesn't support spaces in its argument.
Skip the test if run from a location that contains a space.
| -rw-r--r-- | tests/regressiontests/templates/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py index 6b02c83cb8..d3defb8183 100644 --- a/tests/regressiontests/templates/tests.py +++ b/tests/regressiontests/templates/tests.py @@ -1766,6 +1766,8 @@ class RequestContextTests(BaseTemplateResponseTest): ) +@unittest.skipIf(' ' in __file__, + "The {%% ssi %%} tag in Django 1.4 doesn't support spaces in path.") class SSITests(unittest.TestCase): def setUp(self): self.this_dir = os.path.dirname(os.path.abspath(__file__)) |
