Ticket #14271: diff.diff

File diff.diff, 627 bytes (added by Alex Gaynor, 14 years ago)
  • tests/regressiontests/servers/tests.py

    diff --git a/tests/regressiontests/servers/tests.py b/tests/regressiontests/servers/tests.py
    index 7621439..4763982 100644
    a b from django.core.servers.basehttp import AdminMediaHandler  
    1313class AdminMediaHandlerTests(TestCase):
    1414
    1515    def setUp(self):
    16         self.admin_media_file_path = \
     16        self.admin_media_file_path = os.path.abspath(
    1717            os.path.join(django.__path__[0], 'contrib', 'admin', 'media')
     18        )
    1819        self.handler = AdminMediaHandler(WSGIHandler())
    1920
    2021    def test_media_urls(self):
Back to Top