mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-12-14 07:42:24 +03:00
Convert to use CircleCI and run tests against Django 2.1/Python 3.7
This commit is contained in:
@@ -152,7 +152,7 @@ class LocalizedValueTestCase(TestCase):
|
||||
|
||||
# with no value, we always expect it to return None
|
||||
localized_value = LocalizedValue()
|
||||
assert localized_value.translate() == None
|
||||
assert localized_value.translate() is None
|
||||
assert str(localized_value) == ''
|
||||
|
||||
# with no value for the default language, the default
|
||||
@@ -164,7 +164,7 @@ class LocalizedValueTestCase(TestCase):
|
||||
})
|
||||
|
||||
translation.activate(settings.LANGUAGE_CODE)
|
||||
assert localized_value.translate() == None
|
||||
assert localized_value.translate() is None
|
||||
assert str(localized_value) == ''
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user