summary refs log tree commit diff
diff options
context:
space:
mode:
authorOleg Girko <ol@infoserver.lv>2015-12-06 20:47:41 +0000
committerOleg Girko <ol@infoserver.lv>2015-12-06 20:50:11 +0000
commit4013216fccc4cd3dbdf58b04169caab5fb6531a7 (patch)
treec23a71592c61105e4f68036509bcefa7cbf85a26
parentMerge branch 'release-v0.11.1' of github.com:matrix-org/synapse (diff)
downloadsynapse-4013216fccc4cd3dbdf58b04169caab5fb6531a7.tar.xz
Fix mock import in tests.
For some reason, one test imports Mock class from mock.mock
rather than from mock.
This change fixes this error.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
-rw-r--r--tests/storage/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test_events.py b/tests/storage/test_events.py
index 313013009e..946cd3e9f2 100644
--- a/tests/storage/test_events.py
+++ b/tests/storage/test_events.py
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 import uuid
-from mock.mock import Mock
+from mock import Mock
 from synapse.types import RoomID, UserID
 
 from tests import unittest