Trying to catchup with main

This commit is contained in:
ben
2022-12-06 20:35:58 +00:00
parent 166df0104e
commit 9971a560e1
87 changed files with 6750 additions and 830 deletions
+12 -2
View File
@@ -1,7 +1,17 @@
import asyncio
import json
import secrets
import pytest
import pytest_asyncio
from lnbits.extensions.boltz.boltz import create_reverse_swap
from lnbits.extensions.boltz.models import CreateReverseSubmarineSwap
from lnbits.core.crud import create_account, create_wallet, get_wallet
from lnbits.extensions.boltz.boltz import create_reverse_swap, create_swap
from lnbits.extensions.boltz.models import (
CreateReverseSubmarineSwap,
CreateSubmarineSwap,
)
from tests.mocks import WALLET
@pytest_asyncio.fixture(scope="session")
+2 -1
View File
@@ -1,6 +1,7 @@
import pytest
import pytest_asyncio
from tests.helpers import is_fake
from tests.helpers import is_fake, is_regtest
@pytest.mark.asyncio
+9 -2
View File
@@ -1,10 +1,17 @@
import pytest
import asyncio
import pytest
import pytest_asyncio
from lnbits.extensions.boltz.boltz import create_reverse_swap, create_swap
from lnbits.extensions.boltz.crud import (
create_reverse_submarine_swap,
create_submarine_swap,
get_reverse_submarine_swap,
get_submarine_swap,
)
from tests.helpers import is_fake
from tests.extensions.boltz.conftest import reverse_swap
from tests.helpers import is_fake, is_regtest
@pytest.mark.asyncio