Convert to use CircleCI and run tests against Django 2.1/Python 3.7

This commit is contained in:
Swen Kooij
2019-01-11 14:37:03 +02:00
parent acf8867974
commit b2f50ec82b
13 changed files with 135 additions and 51 deletions

View File

@@ -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