From a0a15f75ba1ae3c104d7c475c54b4858e84d550f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Fri, 10 Jan 2020 12:59:04 +0100 Subject: [PATCH] STY: autopep8 --- tests/test_file.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/test_file.py b/tests/test_file.py index d1abecf..fb8d656 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -365,7 +365,8 @@ def test_consistency_file_was_modified(): c = runCheck(None, "-c FILE_WAS_MODIFIED") assert c.messages["Error", 0] is not None - assert c.messages["Error", 0][0] == 'debug/test_file_storage_consistency: File was modified.' + assert c.messages["Error", + 0][0] == 'debug/test_file_storage_consistency: File was modified.' # download file again and check if it is still the same (just to be # sure that the server only simulated the consistency breach @@ -416,7 +417,8 @@ def test_consistency_file_does_not_exist(): c = runCheck(None, "/debug/") assert c.messages["Info", 0] is not None - assert c.messages["Info", 0][0] == "File system below debug/ is consistent." + assert c.messages["Info", + 0][0] == "File system below debug/ is consistent." # when in debug mode, the server offers a special option # @@ -425,7 +427,8 @@ def test_consistency_file_does_not_exist(): # which simulates a accidentially removed file. c = runCheck(None, "-c FILE_DOES_NOT_EXIST") assert c.messages["Error", 0] is not None - assert c.messages["Error", 0][0] == 'debug/test_file_storage_consistency: File does not exist.' + assert c.messages["Error", + 0][0] == 'debug/test_file_storage_consistency: File does not exist.' with open(file_.download(target="test.dat.tmp"), "r") as d: r = d.read() -- GitLab