Commit 12206bdf authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed a test that was failing under Windows.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent cac7818e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -61,9 +61,9 @@ class AdminMediaHandlerTests(TestCase):
                self.fail("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:
            try: