From af3a57edb2c83c35b832e759b4c24ec72149841a Mon Sep 17 00:00:00 2001 From: David Arthur Date: Mon, 11 Nov 2013 10:20:25 -0500 Subject: [PATCH] Set host and port in ExternalService test fixture So we can run tests against an already running Kafka instance KAFKA_URI=tcp://localhost:9092 python -m test.test_integration --- test/fixtures.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/fixtures.py b/test/fixtures.py index 946c64f..c771a58 100644 --- a/test/fixtures.py +++ b/test/fixtures.py @@ -74,6 +74,8 @@ def render_template(source_file, target_file, binding): class ExternalService(object): def __init__(self, host, port): print("Using already running service at %s:%d" % (host, port)) + self.host = host + self.port = port def open(self): pass