Fix flake8 and isort errors

Note, isort now has default behaviour of searching recursively so we no
longer need the `-rc` flag
This commit is contained in:
David McDonald
2021-03-08 15:36:23 +00:00
parent 2745fb70d8
commit 3e80ba4734
18 changed files with 32 additions and 32 deletions

View File

@@ -326,7 +326,7 @@ def test_org_user_registration(
assert response.status_code == 302
assert response.location == url_for('main.verify', _external=True)
mock_get_user_by_email.called is False
assert mock_get_user_by_email.called is False
mock_register_user.assert_called_once_with(
'Test User',
session['invited_org_user']['email_address'],