import re import subprocess import sys
import unittest from unittest.mock import patch, MagicMock, mock_open from cryptography.hazmat.pri
import unittest from unittest.mock import MagicMock, patch from s3service import S3Service
import unittest from unittest.mock import patch, MagicMock from mongoservice import MongoService