Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[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
@jezdez jezdez authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/regressiontests/servers/tests.py
View
3  tests/regressiontests/servers/tests.py
@@ -13,8 +13,9 @@
class AdminMediaHandlerTests(TestCase):
def setUp(self):
- self.admin_media_file_path = \
+ self.admin_media_file_path = os.path.abspath(
os.path.join(django.__path__[0], 'contrib', 'admin', 'media')
+ )
self.handler = AdminMediaHandler(WSGIHandler())
def test_media_urls(self):
Please sign in to comment.
Something went wrong with that request. Please try again.