Esempio n. 1
0
 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()
Esempio n. 2
0
 def run_thread(self):
     testargs = ['basicswap-run', '-datadir=' + test_path, '-regtest', '-testmode']
     with patch.object(sys, 'argv', testargs):
         runSystem.main()