mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
This commit is contained in:
parent
890537253c
commit
2dc3280254
18 changed files with 118 additions and 182 deletions
|
@ -135,8 +135,8 @@ class DiscoverRunnerTest(TestCase):
|
|||
"""
|
||||
Tests shouldn't be discovered twice when discovering on overlapping paths.
|
||||
"""
|
||||
base_app = 'gis_tests'
|
||||
sub_app = 'gis_tests.geo3d'
|
||||
base_app = 'forms_tests'
|
||||
sub_app = 'forms_tests.field_tests'
|
||||
with self.modify_settings(INSTALLED_APPS={'append': sub_app}):
|
||||
single = DiscoverRunner().build_suite([base_app]).countTestCases()
|
||||
dups = DiscoverRunner().build_suite([base_app, sub_app]).countTestCases()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue