Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 3203f684e8e51cbfa1b39d7b6a56e340981ad4d5 1 parent 701c1a1
Loic Bistuer authored September 11, 2013

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  tests/regressiontests/templates/tests.py
2  tests/regressiontests/templates/tests.py
@@ -1766,6 +1766,8 @@ def test_include_only(self):
1766 1766
         )
1767 1767
 
1768 1768
 
  1769
+@unittest.skipIf(' ' in __file__,
  1770
+    "The {%% ssi %%} tag in Django 1.4 doesn't support spaces in path.")
1769 1771
 class SSITests(unittest.TestCase):
1770 1772
     def setUp(self):
1771 1773
         self.this_dir = os.path.dirname(os.path.abspath(__file__))

1 note on commit 3203f68

Claude Paroz
Owner

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.