lnbits-legend/tests
jackstar12 2577ce7f81
add cache utility (#1790)
* add simple caching utility

* test cache

* remove prefix, default on get

* check expiry in pop aswell

* remove unnecessary type

* improve invalidation task

increase default interval to 10 seconds - doesnt have to check that often.
instead of recreating the dict everytime mutate the existing one
2023-08-02 14:13:31 +02:00
..
core add cache utility (#1790) 2023-08-02 14:13:31 +02:00
data reintroduce extension migration check (#1490) 2023-02-14 13:06:01 +01:00
__init__.py refactor: add some dev files and black original code 2019-12-13 17:56:19 +01:00
conftest.py TEST: add hold invoices to test helpers and a basic test (#1838) 2023-07-26 14:18:14 +02:00
helpers.py TEST: add hold invoices to test helpers and a basic test (#1838) 2023-07-26 14:18:14 +02:00
mocks.py test should pass now, WALLET is initialised after the settings are loaded from db. 2022-12-07 13:38:33 +01:00