Skip to content
Snippets Groups Projects
Commit 65bf24ff authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-609: Fix mock import

parent 967c1bc4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment