Ticket #14148: django-abspath.diff

File django-abspath.diff, 772 bytes (added by Alex Gaynor, 14 years ago)
  • tests/regressiontests/admin_scripts/tests.py

    diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py
    index 7ec2454..c0ee1b1 100644
    a b class AdminScriptTestCase(unittest.TestCase):  
    134134
    135135    def run_django_admin(self, args, settings_file=None):
    136136        bin_dir = os.path.dirname(bin.__file__)
    137         return self.run_test(os.path.join(bin_dir,'django-admin.py'), args, settings_file)
     137        return self.run_test(
     138            os.path.abspath(os.path.join(bin_dir, 'django-admin.py')),
     139            args,
     140            settings_file
     141        )
    138142
    139143    def run_manage(self, args, settings_file=None):
    140144        conf_dir = os.path.dirname(conf.__file__)
Back to Top