assertEqual was deprecated in python 3.2

This commit is contained in:
Eric Amador 2015-04-18 00:33:56 -04:00
parent dc031d9e01
commit dcf51bc6ca

View file

@ -34,7 +34,7 @@ class IntercomTagTestCase(TagTestCase):
date_joined=now)
}))
# Because the json isn't predictably ordered, we can't just test the whole thing verbatim.
self.assertEquals("""
self.assertEqual("""
<script id="IntercomSettingsScriptTag">
window.intercomSettings = {"app_id": "1234567890abcdef0123456789", "created_at": 1397074500, "email": "test@example.com", "name": "Firstname Lastname"};
</script>