Fixed flake8 warnings

This commit is contained in:
mario 2016-01-05 15:09:31 +01:00
parent 4a56a9e7e5
commit 073dd3e765

View File

@ -225,7 +225,7 @@ class APITestCase1(TestCase, BaseAPITestCase):
self.post(self.login_url, data=payload, status_code=200) self.post(self.login_url, data=payload, status_code=200)
def test_password_reset_with_email_in_different_case(self): def test_password_reset_with_email_in_different_case(self):
user = get_user_model().objects.create_user(self.USERNAME, self.EMAIL.lower(), self.PASS) get_user_model().objects.create_user(self.USERNAME, self.EMAIL.lower(), self.PASS)
# call password reset in upper case # call password reset in upper case
mail_count = len(mail.outbox) mail_count = len(mail.outbox)