updated the django-countries to version that supports django 2.2

updated the tests

minor changes

changes made verify capitalized country code

changes made verify capitalized country code

changes made stay consistent with country code implementation

changes made to test with previous implementation

updated the django-countries version to latest

updated the tests input to match the output

updated the constants to use updated country names according to new ISO standards
This commit is contained in:
aarif
2019-12-12 13:31:43 +05:00
parent a2558aea1b
commit d81af828fb
7 changed files with 8 additions and 8 deletions

View File

@@ -90,7 +90,7 @@ class UserProfilePropertiesTest(CacheIsolationTestCase):
def test_invalidate_cache_user_profile_country_updated(self):
country = 'us'
country = 'US'
self.profile.country = country
self.profile.save()