From a02f147482f9a7d1090854bee7335059994c77c9 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 21 Jan 2023 15:32:25 +0000 Subject: [PATCH] fix flake8 E302 (expected 2 blank lines) --- lnbits/extensions/boltcards/lnurl.py | 1 + tests/core/views/test_api.py | 1 + 2 files changed, 2 insertions(+) diff --git a/lnbits/extensions/boltcards/lnurl.py b/lnbits/extensions/boltcards/lnurl.py index f5960d11..4b2f073d 100644 --- a/lnbits/extensions/boltcards/lnurl.py +++ b/lnbits/extensions/boltcards/lnurl.py @@ -28,6 +28,7 @@ from .nxp424 import decryptSUN, getSunMAC ###############LNURLWITHDRAW################# + # /boltcards/api/v1/scan?p=00000000000000000000000000000000&c=0000000000000000 @boltcards_ext.get("/api/v1/scan/{external_id}") async def api_scan(p, c, request: Request, external_id: str = Query(None)): diff --git a/tests/core/views/test_api.py b/tests/core/views/test_api.py index caced159..d6d341cd 100644 --- a/tests/core/views/test_api.py +++ b/tests/core/views/test_api.py @@ -16,6 +16,7 @@ from ...helpers import get_random_invoice_data, is_regtest WALLET = get_wallet_class() + # check if the client is working @pytest.mark.asyncio async def test_core_views_generic(client):