Skip to content

Instantly share code, notes, and snippets.

@AlexanderS
Created January 11, 2016 23:43
Show Gist options
  • Save AlexanderS/c9d25c03afda6e2b1119 to your computer and use it in GitHub Desktop.
Save AlexanderS/c9d25c03afda6e2b1119 to your computer and use it in GitHub Desktop.
diff --git a/testsuite/common.py b/testsuite/common.py
index 45cfcbf..a6d5910 100644
--- a/testsuite/common.py
+++ b/testsuite/common.py
@@ -15,7 +15,7 @@ import codecs
import lxml.etree
import Bcfg2.Options
import Bcfg2.Utils
-from mock import patch, MagicMock, _patch, DEFAULT
+from mock.mock import patch, MagicMock, _patch, DEFAULT
try:
from unittest2 import skip, skipIf, skipUnless, TestCase
except ImportError:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment