tests: Move test_003_api to test_xmr and run in CI.

This commit is contained in:
tecnovert
2025-01-07 21:03:52 +02:00
parent c5ced6994a
commit 32bd44b19a
6 changed files with 273 additions and 146 deletions

View File

@@ -983,7 +983,9 @@ class BasicSwap(BaseApp):
thread_func = {
Coins.XMR: threadPollXMRChainState,
Coins.WOW: threadPollWOWChainState,
}.get(c, threadPollChainState) # default case
}.get(
c, threadPollChainState
) # default case
t = threading.Thread(target=thread_func, args=(self, c))
self.threads.append(t)
@@ -2613,7 +2615,9 @@ class BasicSwap(BaseApp):
_, is_locked = self.getLockedState()
if is_locked is False:
self.log.warning(
"Setting seed id for coin {} from master key.".format(ci.coin_name())
"Setting seed id for coin {} from master key.".format(
ci.coin_name()
)
)
root_key = self.getWalletKey(c, 1)
self.storeSeedIDForCoin(root_key, c)