Fix TCP test

This commit is contained in:
Mike Place 2016-10-25 16:42:50 +09:00
parent b448455c31
commit 88bcfa2c0a
No known key found for this signature in database
GPG key ID: 9136F4F13705CFD3

View file

@ -73,6 +73,14 @@ class BaseTCPReqCase(TestCase):
cls.server_channel.close()
del cls.server_channel
@classmethod
@tornado.gen.coroutine
def _handle_payload(cls, payload):
'''
TODO: something besides echo
'''
raise tornado.gen.Return((payload, {'fun': 'send_clear'}))
@skipIf(salt.utils.is_darwin(), 'hanging test suite on MacOS')
class ClearReqTestCases(BaseTCPReqCase, ReqChannelMixin):