Loading django/contrib/gis/gdal/tests/__init__.py +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ test_suites = [test_driver.suite(), def suite(): "Builds a test suite for the GDAL tests." s = TestSuite() map(s.addTest, test_suites) for test_suite in test_suites: s.addTest(test_suite) return s def run(verbosity=1): Loading tests/modeltests/proxy_model_inheritance/tests.py +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ class ProxyModelInheritanceTests(TransactionTestCase): def setUp(self): self.old_sys_path = sys.path[:] sys.path.append(os.path.dirname(os.path.abspath(__file__))) map(load_app, settings.INSTALLED_APPS) for app in settings.INSTALLED_APPS: load_app(app) def tearDown(self): sys.path = self.old_sys_path Loading Loading
django/contrib/gis/gdal/tests/__init__.py +2 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,8 @@ test_suites = [test_driver.suite(), def suite(): "Builds a test suite for the GDAL tests." s = TestSuite() map(s.addTest, test_suites) for test_suite in test_suites: s.addTest(test_suite) return s def run(verbosity=1): Loading
tests/modeltests/proxy_model_inheritance/tests.py +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ class ProxyModelInheritanceTests(TransactionTestCase): def setUp(self): self.old_sys_path = sys.path[:] sys.path.append(os.path.dirname(os.path.abspath(__file__))) map(load_app, settings.INSTALLED_APPS) for app in settings.INSTALLED_APPS: load_app(app) def tearDown(self): sys.path = self.old_sys_path Loading