diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-30 22:00:19 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-01-30 22:00:19 +0900 |
commit | 5d047524215b8ca31befb367a420ef086ff623c6 (patch) | |
tree | d08b109ee8b4e23b0c10ebb2773eb52c4f50627c | |
parent | 75fe76c4a548f861ade1caaac2a5132ee9e92ad5 (diff) |
test: disable rpc unittest with large file for now
disable the rpc unittest with large file for now because it doesn't
work with eventlet 0.18 and later. Ryu doesn't have any use cases like
this test but should be investigated.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/unit/lib/test_rpc.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ryu/tests/unit/lib/test_rpc.py b/ryu/tests/unit/lib/test_rpc.py index 995320b8..149912ac 100644 --- a/ryu/tests/unit/lib/test_rpc.py +++ b/ryu/tests/unit/lib/test_rpc.py @@ -16,7 +16,11 @@ import numbers import time -import unittest +import sys +if sys.version_info < (2, 7): + import unittest2 as unittest +else: + import unittest from nose.tools import raises import six @@ -230,6 +234,7 @@ class Test_rpc(unittest.TestCase): obj = [1, b'hoge', {b'foo': 1, 3: b'bar'}] assert c.call(b'resp', [obj]) == list(obj) + @unittest.skip("doesn't work with eventlet 0.18 and later") def test_4_call_large_binary(self): import struct |