diff --git a/SAS/ResourceAssignment/ResourceAssignmentService/test/test_ra_service_and_rpc.py b/SAS/ResourceAssignment/ResourceAssignmentService/test/test_ra_service_and_rpc.py index 83345850913e475dffd6072a11bcdb0bc85a0d2d..d8fc25e24838a527849213662b408750f56e69cd 100755 --- a/SAS/ResourceAssignment/ResourceAssignmentService/test/test_ra_service_and_rpc.py +++ b/SAS/ResourceAssignment/ResourceAssignmentService/test/test_ra_service_and_rpc.py @@ -17,13 +17,8 @@ except ImportError: print('Please source qpid profile') exit(3) -try: - from mock import MagicMock - from mock import patch -except ImportError: - print('Cannot run test without python MagicMock') - print('Please install MagicMock: pip install mock') - exit(3) +from unittest.mock import MagicMock +from unittest.mock import patch connection = None broker = None