Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a test that was failing under Windows.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 12206bdf0fdafc6a4a3922b77902deaa3d5d4370 1 parent cac7818
@aaugustin aaugustin authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/regressiontests/servers/
6 tests/regressiontests/servers/
@@ -61,9 +61,9 @@ def test_media_urls(self):"Got a ValueError exception, but wasn't expecting"
" one. URL was: %s" % url)
rel_path = os.path.join(*path_tuple)
- desired = os.path.normcase(
- os.path.join(self.admin_media_file_path, rel_path))
- self.assertEqual(output, desired,
+ desired = os.path.join(self.admin_media_file_path, rel_path)
+ self.assertEqual(
+ os.path.normcase(output), os.path.normcase(desired),
"Got: %s, Expected: %s, URL was: %s" % (output, desired, url))
for url in bad_data:
Please sign in to comment.
Something went wrong with that request. Please try again.