diff options
| author | Tim Graham <timograham@gmail.com> | 2016-01-20 20:45:47 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-20 20:45:47 -0500 |
| commit | 664e6265ac6cd87f46c7ab6e3e319a363f413c64 (patch) | |
| tree | 90b7d53aa2b96258276ec6b85463009c94efa49a /releases | |
| parent | 249caed35fdbbd66c7bbdc40cc9e64e45433b55d (diff) | |
Removed usage of deprecated assertEquals().
Diffstat (limited to 'releases')
| -rw-r--r-- | releases/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/releases/tests.py b/releases/tests.py index 1a62d81f..34325a99 100644 --- a/releases/tests.py +++ b/releases/tests.py @@ -23,8 +23,8 @@ class LegacyURLsTests(TestCase): location = response.get('Location', '') if location.startswith('http://testserver'): location = location[17:] - self.assertEquals(location, new_path) - self.assertEquals(response.status_code, 301) + self.assertEqual(location, new_path) + self.assertEqual(response.status_code, 301) class TestTemplateTags(TestCase): |
