Commit 3203f684 authored by Loic Bistuer's avatar Loic Bistuer
Browse files

Fixed failing test introduced by 87d2750b.

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.
parent 701c1a11
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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__))