diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-03-17 11:05:10 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-03-17 11:05:10 -0700 |
commit | ced2220747f4632dd89178ba057e1136bd88ddb8 (patch) | |
tree | 040a4b51ae46b3dd0531e2c867d2a75261fa73ba | |
parent | f39f461918371f3d8bc22cb7adfa23da7f195bcd (diff) | |
download | kafka-python-windows.tar.gz |
Skip test that fails on windowswindows
-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,) |