summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Arthur <mumrah@gmail.com>2012-10-02 12:09:19 -0400
committerDavid Arthur <mumrah@gmail.com>2012-10-02 12:09:19 -0400
commit36b67b79202f8bdeab60de1f4ed582328eeb04db (patch)
treea907573f3c223cb8b225d734f6b475b9359affc3 /test
parent036af5b997749320a1dd6da5c48c5120e6691365 (diff)
downloadkafka-python-36b67b79202f8bdeab60de1f4ed582328eeb04db.tar.gz
Start work on packaging issue #3
Diffstat (limited to 'test')
-rw-r--r--test/__init__.py0
-rw-r--r--test/integration.py2
-rw-r--r--test/unit.py4
3 files changed, 3 insertions, 3 deletions
diff --git a/test/__init__.py b/test/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/__init__.py
diff --git a/test/integration.py b/test/integration.py
index fccf28f..197f5ec 100644
--- a/test/integration.py
+++ b/test/integration.py
@@ -11,7 +11,7 @@ from threading import Thread, Event
import time
import unittest
-from kafka import KafkaClient, ProduceRequest, FetchRequest
+from kafka.kafka import KafkaClient, ProduceRequest, FetchRequest
def get_open_port():
sock = socket.socket()
diff --git a/test/unit.py b/test/unit.py
index 5c48f27..c77aa81 100644
--- a/test/unit.py
+++ b/test/unit.py
@@ -3,8 +3,8 @@ import random
import struct
import unittest
-from kafka import KafkaClient, ProduceRequest, FetchRequest
-from kafka import gzip_encode, gzip_decode, length_prefix_message
+from kafka.kafka import KafkaClient, ProduceRequest, FetchRequest
+from kafka.kafka import gzip_encode, gzip_decode, length_prefix_message
ITERATIONS = 1000
STRLEN = 100