Permalink
Browse files

Fixed failing test introduced by 87d2750.

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.
  • Loading branch information...
1 parent 701c1a1 commit 3203f684e8e51cbfa1b39d7b6a56e340981ad4d5 @loic loic committed Sep 11, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/regressiontests/templates/tests.py
@@ -1766,6 +1766,8 @@ def test_include_only(self):
)
+@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__))

1 comment on commit 3203f68

@claudep
Member

This is failing with a SyntaxError on Python 2.5. I suspect the issue is related to class decoration.

Please sign in to comment.