lnbits-legend/lnbits/wallets
dni ⚡ 7a37e72915
[REFACTOR] replace async_wrap with run_sync (#1858)
* replace async_wrap with run_sync

formatting

remove unused fn

properly raise exception, not for timeout though

* [TEST] proper startup and shutdown (#1860)

* add proper startup / shutdown in tests

* fix event loop issues

because uvloop was installed in server.py which is not the main entry point when tests are ran.
this caused the loops referenced by the locks and queues to be a different one than the one used to run the tests
(only an issue in python 3.9)

* give openapi more time, does not matter anyway, regtest takes way longer

---------

Co-authored-by: jacksn <jkranawetter05@gmail.com>

remove uvloop

* fix test

* dont touch pyproject

* fix: install uvloop in conftest

not using uvloop at all causes tests to take way longer

---------

Co-authored-by: jacksn <jkranawetter05@gmail.com>
2023-08-28 10:59:56 +01:00
..
lnd_grpc_files Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745) 2022-08-09 11:49:39 +02:00
macaroon Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
__init__.py Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
base.py Refactor get walletclass (#1776) 2023-06-27 16:11:00 +02:00
cliche.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
corelightning.py [REFACTOR] replace async_wrap with run_sync (#1858) 2023-08-28 10:59:56 +01:00
corelightningrest.py Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
eclair.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
fake.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
lnbits.py [CHORE] E722 bare exception fix (#1871) 2023-08-16 12:17:54 +02:00
lndgrpc.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
lndrest.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
lnpay.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
lntips.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
opennode.py [CHORE] flake8 issues E402, E721 and F821 (#1874) 2023-08-16 12:22:14 +02:00
spark.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00
void.py [CHORE] string formatting default length 88 (#1887) 2023-08-24 10:26:09 +01:00