[CHORE] cleanup cache and exception on make test (#1899)
* [CHORE] cleanup cache and exception on `make test` moved the invalidate_forever task to proper location and use `create_permanent_task`. and there was a Task never awaited Exception when running tests * imrpove expiration test * move cache into utils * fix issue with pytest_asyncio s --------- Co-authored-by: jacksn <jkranawetter05@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ from typing import Callable, NamedTuple
|
||||
import httpx
|
||||
from loguru import logger
|
||||
|
||||
from lnbits.cache import cache
|
||||
from lnbits.utils.cache import cache
|
||||
|
||||
currencies = {
|
||||
"AED": "United Arab Emirates Dirham",
|
||||
|
||||
Reference in New Issue
Block a user