Skip to content
Browse files

Fix staticfiles_tests.TestCollectionCachedStorage.test_post_processin…

…g so it passes on Windows.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 59a436e commit 20b021e5062de5b78d637e65a5df614682d26878 @kmtracey kmtracey committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/staticfiles_tests/
4 tests/regressiontests/staticfiles_tests/
@@ -495,8 +495,8 @@ def test_post_processing(self):
collectstatic_cmd = CollectstaticCommand()
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,

0 comments on commit 20b021e

Please sign in to comment.
Something went wrong with that request. Please try again.