diff --git a/lnbits/extensions/satsdice/models.py b/lnbits/extensions/satsdice/models.py index b0a9a4cda..510b7bde0 100644 --- a/lnbits/extensions/satsdice/models.py +++ b/lnbits/extensions/satsdice/models.py @@ -8,7 +8,6 @@ from lnurl import Lnurl from lnurl import encode as lnurl_encode from lnurl.types import LnurlPayMetadata from pydantic import BaseModel -from pydantic.main import BaseModel class satsdiceLink(BaseModel): diff --git a/lnbits/wallets/macaroon/macaroon.py b/lnbits/wallets/macaroon/macaroon.py index 5769df88a..05d667be8 100644 --- a/lnbits/wallets/macaroon/macaroon.py +++ b/lnbits/wallets/macaroon/macaroon.py @@ -7,7 +7,6 @@ from Cryptodome.Cipher import AES from loguru import logger BLOCK_SIZE = 16 -import getpass def load_macaroon(macaroon: str) -> str: diff --git a/tests/extensions/invoices/test_invoices_api.py b/tests/extensions/invoices/test_invoices_api.py index c0777690d..3c337d7e8 100644 --- a/tests/extensions/invoices/test_invoices_api.py +++ b/tests/extensions/invoices/test_invoices_api.py @@ -3,11 +3,6 @@ import pytest_asyncio # noqa: F401 from loguru import logger # noqa: F401 from lnbits.core.crud import get_wallet # noqa: F401 -from tests.conftest import adminkey_headers_from, client, invoice # noqa: F401 -from tests.extensions.invoices.conftest import ( # noqa: F401 - accounting_invoice, - invoices_wallet, -) from tests.helpers import credit_wallet # noqa: F401 from tests.mocks import WALLET # noqa: F401