summaryrefslogtreecommitdiff
path: root/test/test_conn.py
diff options
context:
space:
mode:
authorMark Roberts <wizzat@gmail.com>2014-04-23 13:10:43 -0700
committerMark Roberts <wizzat@gmail.com>2014-04-23 13:10:43 -0700
commit583d3ae22bf6fc373c03e50c7e4eb26eaa50db4b (patch)
treee5d649029cd4960a4f00ccd16f5837de45f4d699 /test/test_conn.py
parent764f2053ad4dd73dc391416ddd4cfa345271efcb (diff)
downloadkafka-python-583d3ae22bf6fc373c03e50c7e4eb26eaa50db4b.tar.gz
Fix Python 2.6 support
Diffstat (limited to 'test/test_conn.py')
-rw-r--r--test/test_conn.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/test_conn.py b/test/test_conn.py
index 5bc2beb..4ab6d4f 100644
--- a/test/test_conn.py
+++ b/test/test_conn.py
@@ -1,10 +1,10 @@
import os
import random
import struct
-import unittest
+import unittest2
import kafka.conn
-class ConnTest(unittest.TestCase):
+class ConnTest(unittest2.TestCase):
def test_collect_hosts__happy_path(self):
hosts = "localhost:1234,localhost"
results = kafka.conn.collect_hosts(hosts)
@@ -36,34 +36,34 @@ class ConnTest(unittest.TestCase):
('localhost', 9092),
]))
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_send(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_send__reconnects_on_dirty_conn(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_send__failure_sets_dirty_connection(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_recv(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_recv__reconnects_on_dirty_conn(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_recv__failure_sets_dirty_connection(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_recv__doesnt_consume_extra_data_in_stream(self):
pass
- @unittest.skip("Not Implemented")
+ @unittest2.skip("Not Implemented")
def test_close__object_is_reusable(self):
pass