Refactors test structure

This commit is contained in:
Sergi Delgado Segura
2019-10-04 17:29:13 +01:00
parent 1e18630ce2
commit beac88a2c5
9 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ from hashlib import sha256
from binascii import hexlify, unhexlify
from apps.cli.blob import Blob
from pisa import HOST, PORT
from pisa.utils.authproxy import AuthServiceProxy
from pisa.utils.auth_proxy import AuthServiceProxy
from pisa.conf import BTC_RPC_USER, BTC_RPC_PASSWD, BTC_RPC_HOST, BTC_RPC_PORT
PISA_API = "http://{}:{}".format(HOST, PORT)

View File

@@ -1,6 +1,6 @@
from pisa.conf import FEED_PROTOCOL, FEED_ADDR, FEED_PORT
from flask import Flask, request, Response, abort
from tests.simulator.zmq_publisher import ZMQPublisher
from test.simulator.zmq_publisher import ZMQPublisher
from threading import Thread
from pisa.rpc_errors import *
from pisa.tools import check_txid_format

0
test/unit/__init__.py Normal file
View File