mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix TCP test
This commit is contained in:
parent
b448455c31
commit
88bcfa2c0a
1 changed files with 8 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue