Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix staticfiles_tests.TestCollectionCachedStorage.test_post_processin…

…g so it passes on Windows.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 20b021e5062de5b78d637e65a5df614682d26878 1 parent 59a436e
Karen Tracey authored March 04, 2012
4  tests/regressiontests/staticfiles_tests/tests.py
@@ -495,8 +495,8 @@ def test_post_processing(self):
495 495
         collectstatic_cmd = CollectstaticCommand()
496 496
         collectstatic_cmd.set_options(**collectstatic_args)
497 497
         stats = collectstatic_cmd.collect()
498  
-        self.assertTrue(u'cached/css/window.css' in stats['post_processed'])
499  
-        self.assertTrue(u'cached/css/img/window.png' in stats['unmodified'])
  498
+        self.assertTrue(os.path.join('cached', 'css', 'window.css') in stats['post_processed'])
  499
+        self.assertTrue(os.path.join('cached', 'css', 'img', 'window.png') in stats['unmodified'])
500 500
 
501 501
 # we set DEBUG to False here since the template tag wouldn't work otherwise
502 502
 TestCollectionCachedStorage = override_settings(**dict(TEST_SETTINGS,

0 notes on commit 20b021e

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