From 83c936ee710ace35a28411594ad89da08d34dc82 Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Thu, 15 Aug 2013 17:10:10 -0500 Subject: [PATCH] Fix libevreactor unit test mock patching --- tests/unit/io/test_libevreactor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/io/test_libevreactor.py b/tests/unit/io/test_libevreactor.py index ba126250..3ed6e5b5 100644 --- a/tests/unit/io/test_libevreactor.py +++ b/tests/unit/io/test_libevreactor.py @@ -20,7 +20,7 @@ except ImportError, exc: raise unittest.SkipTest('libev does not appear to be installed correctly: %s' % (exc,)) @patch('socket.socket') -@patch('cassandra.io.libevwrapper.Io') +@patch('cassandra.io.libevwrapper.IO') @patch('cassandra.io.libevreactor._start_loop') class LibevConnectionTest(unittest.TestCase):