Merge pull request #22643 from edx/feanil/2to3_asserts
Run `2to3 -f asserts . -w` on edx-platform.
This commit is contained in:
@@ -341,7 +341,7 @@ class TestEnterpriseApi(EnterpriseServiceMockMixin, CacheIsolationTestCase):
|
||||
# not be called.
|
||||
if consent_required:
|
||||
self.assertIsInstance(response, HttpResponseRedirect)
|
||||
self.assertEquals(response.url, consent_url) # pylint: disable=no-member
|
||||
self.assertEqual(response.url, consent_url) # pylint: disable=no-member
|
||||
|
||||
# Otherwise, the view function should have been called with the expected arguments.
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user