Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14271 -- Use absolute path for admin media tests. Thanks, Alex…

… Gaynor.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d8d38ec6e7b4315a1187f142bde4a7ca33edbd18 1 parent 2c9f0b7
Jannis Leidel authored September 26, 2010

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 d8d38ec

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