Improved tests for app settings and added tests for dav_base.config.modules.ModuleMeta
Run tests / Execute tox to run the test suite (push) Successful in 3m27s
Run tests / Execute tox to run the test suite (push) Successful in 3m27s
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from django.apps import apps
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
from six import string_types
|
||||
|
||||
from dav_base.tests.generic import AppSetting, AppsTestCase
|
||||
@@ -8,5 +9,5 @@ class TestCase(AppsTestCase):
|
||||
app_config = apps.get_app_config('dav_registration')
|
||||
|
||||
settings = (
|
||||
AppSetting('privacy_policy', string_types),
|
||||
AppSetting('privacy_policy', ImproperlyConfigured, string_types),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user