Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed #14271 -- Use absolute path for admin media tests. Than…

…ks, Alex Gaynor.

Backport from trunk (r13874).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ad3b281c97cc86d0f82f0d06399dcffd77a7e9b6 1 parent 7b556c2
Jannis Leidel authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  tests/regressiontests/servers/tests.py
3  tests/regressiontests/servers/tests.py
@@ -13,8 +13,9 @@
13 13
 class AdminMediaHandlerTests(TestCase):
14 14
 
15 15
     def setUp(self):
16  
-        self.admin_media_file_path = \
  16
+        self.admin_media_file_path = os.path.abspath(
17 17
             os.path.join(django.__path__[0], 'contrib', 'admin', 'media')
  18
+        )
18 19
         self.handler = AdminMediaHandler(WSGIHandler())
19 20
 
20 21
     def test_media_urls(self):

0 notes on commit ad3b281

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