Browse Source

fix test of AMP commands for dust_threshold

master
Adam Gibson 4 years ago
parent
commit
ab9b1a83f5
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 7
      jmbase/test/test_commands.py

7
jmbase/test/test_commands.py

@ -44,9 +44,9 @@ class JMTestServerProtocol(JMBaseProtocol):
@JMInit.responder
def on_JM_INIT(self, bcsource, network, irc_configs, minmakers,
maker_timeout_sec):
maker_timeout_sec, dust_threshold):
show_receipt("JMINIT", bcsource, network, irc_configs, minmakers,
maker_timeout_sec)
maker_timeout_sec, dust_threshold)
d = self.callRemote(JMInitProto,
nick_hash_length=1,
nick_max_encoded=2,
@ -139,7 +139,8 @@ class JMTestClientProtocol(JMBaseProtocol):
network="dummynetwork",
irc_configs=json.dumps(['dummy', 'irc', 'config']),
minmakers=7,
maker_timeout_sec=8)
maker_timeout_sec=8,
dust_threshold=1500)
self.defaultCallbacks(d)
@JMInitProto.responder

Loading…
Cancel
Save