diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-03-24 10:19:29 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-03-24 10:19:29 -0700 |
commit | c6c862ad29ec5d0ae61d635c2020fb925b405c44 (patch) | |
tree | 59a8332d1f2928cd14b266a4c1b1740e88e9a923 /test/test_consumer.py | |
parent | 41caf50f588e49b1b7e607bd3c3666ab72d7b697 (diff) | |
parent | ced2220747f4632dd89178ba057e1136bd88ddb8 (diff) | |
download | kafka-python-c6c862ad29ec5d0ae61d635c2020fb925b405c44.tar.gz |
Merge pull request #603 from dpkp/windows
Updates to support Windows
Diffstat (limited to 'test/test_consumer.py')
-rw-r--r-- | test/test_consumer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_consumer.py b/test/test_consumer.py index 2c9561b..e664292 100644 --- a/test/test_consumer.py +++ b/test/test_consumer.py @@ -1,3 +1,4 @@ +import sys from mock import MagicMock, patch from . import unittest @@ -17,6 +18,7 @@ class TestKafkaConsumer(unittest.TestCase): class TestMultiProcessConsumer(unittest.TestCase): + @unittest.skipIf(sys.platform.startswith('win'), 'test mocking fails on windows') def test_partition_list(self): client = MagicMock() partitions = (0,) |