From ab9b1a83f585ab50247782febdf7d0bac20b5cfb Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Tue, 7 Sep 2021 09:05:55 +0100 Subject: [PATCH] fix test of AMP commands for dust_threshold --- jmbase/test/test_commands.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jmbase/test/test_commands.py b/jmbase/test/test_commands.py index 231ba19..419a61f 100644 --- a/jmbase/test/test_commands.py +++ b/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