FIX: Get rid of basestring (not python3 compatible).
This commit is contained in:
1 parent
fe7f6d6de1
commit
e05bf3e56f
4 files changed
+12
-8
No files matched your search
@@ -1,4 +1,5 @@
|
||||
from django.apps import apps
|
||||
from six import string_types
|
||||
|
||||
from .generic import AppSetting, AppsTestCase
|
||||
|
||||
@@ -7,7 +8,7 @@ class TestCase(AppsTestCase):
|
||||
app_config = apps.get_app_config('dav_base')
|
||||
|
||||
settings = (
|
||||
AppSetting('email_sender', basestring),
|
||||
AppSetting('email_base_url', basestring),
|
||||
AppSetting('email_subject_prefix', basestring),
|
||||
AppSetting('email_sender', string_types),
|
||||
AppSetting('email_base_url', string_types),
|
||||
AppSetting('email_subject_prefix', string_types),
|
||||
)
|
||||
Reference in new issue
Block a user