mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 19:54:18 +01:00
turn off tor for tests
This commit is contained in:
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@@ -35,6 +35,7 @@ jobs:
|
|||||||
LIGHTNING: False
|
LIGHTNING: False
|
||||||
MINT_HOST: localhost
|
MINT_HOST: localhost
|
||||||
MINT_PORT: 3338
|
MINT_PORT: 3338
|
||||||
|
TOR: False
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest tests --cov-report xml --cov cashu
|
poetry run pytest tests --cov-report xml --cov cashu
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
import time
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import pytest_asyncio
|
import pytest_asyncio
|
||||||
|
|
||||||
from cashu.core.base import BlindedMessage, Proof
|
from cashu.core.base import BlindedMessage, Proof
|
||||||
from cashu.core.helpers import async_unwrap, sum_proofs
|
|
||||||
from cashu.core.migrations import migrate_databases
|
from cashu.core.migrations import migrate_databases
|
||||||
|
|
||||||
SERVER_ENDPOINT = "http://localhost:3338"
|
SERVER_ENDPOINT = "http://localhost:3338"
|
||||||
@@ -13,8 +11,7 @@ SERVER_ENDPOINT = "http://localhost:3338"
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
from cashu.core.db import Database
|
from cashu.core.db import Database
|
||||||
from cashu.core.settings import MAX_ORDER, MINT_PRIVATE_KEY
|
from cashu.core.settings import MAX_ORDER
|
||||||
from cashu.lightning.lnbits import LNbitsWallet
|
|
||||||
from cashu.mint import migrations
|
from cashu.mint import migrations
|
||||||
from cashu.mint.ledger import Ledger
|
from cashu.mint.ledger import Ledger
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user