Created
July 31, 2012 22:14
-
-
Save Fluxx/3221131 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @attr('requires-zookeeper') | |
| class TestKafkaTpoicIntegration(BaseIntegrationTest, KafkaIntegrationTestCase): | |
| @fixture | |
| def zookeeper(self): | |
| client = KazooClient() | |
| client.connect() | |
| return client | |
| @fixture | |
| def kafka_cluster(self): | |
| return Cluster(self.zookeeper) | |
| @fixture | |
| def channel(self): | |
| return Channel('tests.integration', KafkaTopic(self.kafka_cluster)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment