summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2012-03-04 16:47:28 +0000
committerKaren Tracey <kmtracey@gmail.com>2012-03-04 16:47:28 +0000
commit20b021e5062de5b78d637e65a5df614682d26878 (patch)
treedd0d42aeaea4dbfd74d07a8e768647720a215b5a /tests
parent59a436e963db9018a930b9b5c83785bdc2ab0139 (diff)
Fix staticfiles_tests.TestCollectionCachedStorage.test_post_processing so it passes on Windows.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/staticfiles_tests/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/staticfiles_tests/tests.py b/tests/regressiontests/staticfiles_tests/tests.py
index 050ba0e9e9..fc489b33c3 100644
--- a/tests/regressiontests/staticfiles_tests/tests.py
+++ b/tests/regressiontests/staticfiles_tests/tests.py
@@ -495,8 +495,8 @@ class TestCollectionCachedStorage(BaseCollectionTestCase,
collectstatic_cmd = CollectstaticCommand()
collectstatic_cmd.set_options(**collectstatic_args)
stats = collectstatic_cmd.collect()
- self.assertTrue(u'cached/css/window.css' in stats['post_processed'])
- self.assertTrue(u'cached/css/img/window.png' in stats['unmodified'])
+ self.assertTrue(os.path.join('cached', 'css', 'window.css') in stats['post_processed'])
+ self.assertTrue(os.path.join('cached', 'css', 'img', 'window.png') in stats['unmodified'])
# we set DEBUG to False here since the template tag wouldn't work otherwise
TestCollectionCachedStorage = override_settings(**dict(TEST_SETTINGS,