mpdh13: PEP8 (#31445)

This commit is contained in:
Benjamin Dauvergne 2019-03-15 11:16:46 +01:00
parent ded313ce12
commit 74428481d1
1 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ def test_check_status_no_link(mdph13):
assert Link.objects.count() == 0
try:
mdph13.check_status()
except Exception as e:
except Exception:
pytest.fail('check_status() should not raise')
@ -357,7 +357,7 @@ def test_link_ok(mdph13, mock_http):
# check relinking with update
mock_http.add_response(VALID_RESPONSE)
response = mdph13.link(request=None, NameID=NAME_ID,
numero_dossier=FILE_NUMBER, secret=SECRET+'a',
numero_dossier=FILE_NUMBER, secret=SECRET + 'a',
date_de_naissance=DOB_ISOFORMAT, email=EMAIL)
assert response == {
'link_id': link.pk,