diff --git a/monkey/monkey_island/cc/resources/pba_file_download.py b/monkey/monkey_island/cc/resources/pba_file_download.py index 39acb5d2c..d8359049a 100644 --- a/monkey/monkey_island/cc/resources/pba_file_download.py +++ b/monkey/monkey_island/cc/resources/pba_file_download.py @@ -28,5 +28,3 @@ class PBAFileDownload(AbstractResource): except repository.FileNotFoundError as err: logger.error(str(err)) return make_response({"error": str(err)}, 404) - - # TODO: Add unit tests that test 404 vs 500 errors diff --git a/monkey/monkey_island/cc/resources/pba_file_upload.py b/monkey/monkey_island/cc/resources/pba_file_upload.py index 5f46273c4..277804a72 100644 --- a/monkey/monkey_island/cc/resources/pba_file_upload.py +++ b/monkey/monkey_island/cc/resources/pba_file_upload.py @@ -62,8 +62,6 @@ class FileUpload(AbstractResource): logger.error(str(err)) return make_response({"error": str(err)}, 404) - # TODO: Add unit tests that test 404 vs 500 errors - @jwt_required def post(self, target_os): """