mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 11:44:19 +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
|
||||
MINT_HOST: localhost
|
||||
MINT_PORT: 3338
|
||||
TOR: False
|
||||
run: |
|
||||
poetry run pytest tests --cov-report xml --cov cashu
|
||||
- name: Upload coverage to Codecov
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import time
|
||||
from typing import List
|
||||
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
from cashu.core.base import BlindedMessage, Proof
|
||||
from cashu.core.helpers import async_unwrap, sum_proofs
|
||||
from cashu.core.migrations import migrate_databases
|
||||
|
||||
SERVER_ENDPOINT = "http://localhost:3338"
|
||||
@@ -13,8 +11,7 @@ SERVER_ENDPOINT = "http://localhost:3338"
|
||||
import os
|
||||
|
||||
from cashu.core.db import Database
|
||||
from cashu.core.settings import MAX_ORDER, MINT_PRIVATE_KEY
|
||||
from cashu.lightning.lnbits import LNbitsWallet
|
||||
from cashu.core.settings import MAX_ORDER
|
||||
from cashu.mint import migrations
|
||||
from cashu.mint.ledger import Ledger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user