Use consistent flake8 settings everywhere and fix flake8 issues

This commit is contained in:
Raphael Michel
2016-10-13 22:56:31 +02:00
parent fa0803aa68
commit 503f6dd06f
24 changed files with 25 additions and 33 deletions

View File

@@ -286,7 +286,7 @@ class PasswordRecoveryFormTest(TestCase):
def test_unknown(self):
response = self.client.post('/control/forgot', {
'email': 'dummy@dummy.dummy',
})
})
self.assertEqual(response.status_code, 200)
def test_email_sent(self):
@@ -294,7 +294,7 @@ class PasswordRecoveryFormTest(TestCase):
response = self.client.post('/control/forgot', {
'email': 'demo@demo.dummy',
})
})
self.assertEqual(response.status_code, 302)
assert len(djmail.outbox) == 1