Skip to content
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
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/regressiontests/templates/
2 tests/regressiontests/templates/
@@ -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

Django 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.
Something went wrong with that request. Please try again.