Browse Source

fix TestMakerClientProtocol failing with py3

master
undeath 7 years ago
parent
commit
12705b5e72
No known key found for this signature in database
GPG Key ID: F0DF5443BD2F3520
  1. 2
      jmclient/test/test_client_protocol.py

2
jmclient/test/test_client_protocol.py

@ -315,7 +315,7 @@ class TestMakerClientProtocol(unittest.TestCase):
def callClient(self, jmcmd, response_cb=None, error_cb=None, **kwargs):
box = jmcmd.makeArguments(kwargs, self.client)
box[b'_command'] = jmcmd.__name__
box[b'_command'] = jmcmd.__name__.encode('utf-8')
d = self.client.dispatchCommand(box)
d.addCallback(response_cb or self.get_response_cb(jmcmd))
if error_cb:

Loading…
Cancel
Save