Merge branch 'more_unit_tests' of https://github.com/lnbits/lnbits into more_unit_tests

This commit is contained in:
Vlad Stan
2026-03-25 10:54:23 +02:00
16 changed files with 54 additions and 33 deletions
+2 -2
View File
@@ -28,8 +28,7 @@ from lnbits.core.models.extensions_builder import (
PublicPageFields,
SettingsFields,
)
from lnbits.settings import settings
from lnbits.wallets import get_funding_source, set_funding_source
from lnbits.wallets import get_funding_source
class DbTestModel(BaseModel):
@@ -182,6 +181,7 @@ def make_lnurl_pay_response(
),
)
funding_source = get_funding_source()
is_fake: bool = funding_source.__class__.__name__ == "FakeWallet"
is_regtest: bool = not is_fake