From b4ced896b64985a7d6713986c3db87b74d60356a Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 13 Jul 2022 10:21:33 -0400 Subject: [PATCH] UT: Improve formatting in test_pba_file_upload_endpoint() --- .../monkey_island/cc/resources/test_pba_file_upload.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monkey/tests/unit_tests/monkey_island/cc/resources/test_pba_file_upload.py b/monkey/tests/unit_tests/monkey_island/cc/resources/test_pba_file_upload.py index e4cb5a487..d49d293bd 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/resources/test_pba_file_upload.py +++ b/monkey/tests/unit_tests/monkey_island/cc/resources/test_pba_file_upload.py @@ -129,10 +129,9 @@ def test_pba_file_upload_endpoint( resp_delete = flask_client.delete(url_with_os, data="test.py", content_type="text/plain;") resp_get_del = flask_client.get(url_with_filename) + assert resp_post.status_code == 200 - assert resp_delete.status_code == 200 - assert resp_get_del.status_code == 404