turn off tor for tests

This commit is contained in:
callebtc
2022-10-29 23:01:25 +02:00
parent d6fa754a6d
commit 4abf1ba8b0
2 changed files with 2 additions and 4 deletions

View File

@@ -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

View File

@@ -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