mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
fix TestMakerClientProtocol failing with py3
This commit is contained in:
parent
94c158013b
commit
12705b5e72
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue