From 74428481d11f7bc8889b40dd2358eaa40a242b43 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 15 Mar 2019 11:16:46 +0100 Subject: [PATCH 1/2] mpdh13: PEP8 (#31445) --- tests/test_mdph13.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_mdph13.py b/tests/test_mdph13.py index 3420c8c..3f7762f 100644 --- a/tests/test_mdph13.py +++ b/tests/test_mdph13.py @@ -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, -- 2.20.1