From 4013216fccc4cd3dbdf58b04169caab5fb6531a7 Mon Sep 17 00:00:00 2001 From: Oleg Girko Date: Sun, 6 Dec 2015 20:47:41 +0000 Subject: 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 --- tests/storage/test_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1