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.
This commit is contained in:
Loic Bistuer 2013-09-11 18:05:39 +07:00
parent 701c1a11bc
commit 3203f684e8
1 changed files with 2 additions and 0 deletions

View File

@ -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__))