You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
manual_test_nwcwallet.py: close connections after test
This commit is contained in:
@@ -93,6 +93,12 @@ class TestNWCWallet(unittest.TestCase):
|
||||
self.assertNotEqual(self.redraw_balance_cb_called,saved+1, "should be equal, but LNBits doesn't seem to send payment notifications (yet)")
|
||||
self.assertGreaterEqual(self.redraw_payments_cb_called, 1)
|
||||
self.assertGreaterEqual(self.redraw_static_receive_code_cb_called, 1)
|
||||
print("Stopping wallet...")
|
||||
self.wallet.stop()
|
||||
time.sleep(5)
|
||||
self.assertNotEqual(self.redraw_balance_cb_called,saved+1, "should be equal, but LNBits doesn't seem to send payment notifications (yet)")
|
||||
self.assertGreaterEqual(self.redraw_payments_cb_called, 1)
|
||||
self.assertGreaterEqual(self.redraw_static_receive_code_cb_called, 1)
|
||||
print("test finished")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user