def run_thread(self, client_id): client_path = os.path.join(test_path, 'client{}'.format(client_id)) testargs = ['basicswap-run', '-datadir=' + client_path, '-regtest'] with patch.object(sys, 'argv', testargs): runSystem.main()
def run_thread(self): testargs = ['basicswap-run', '-datadir=' + test_path, '-regtest', '-testmode'] with patch.object(sys, 'argv', testargs): runSystem.main()