mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Refactors test structure
This commit is contained in:
@@ -7,7 +7,7 @@ from hashlib import sha256
|
|||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
from apps.cli.blob import Blob
|
from apps.cli.blob import Blob
|
||||||
from pisa import HOST, PORT
|
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
|
from pisa.conf import BTC_RPC_USER, BTC_RPC_PASSWD, BTC_RPC_HOST, BTC_RPC_PORT
|
||||||
|
|
||||||
PISA_API = "http://{}:{}".format(HOST, PORT)
|
PISA_API = "http://{}:{}".format(HOST, PORT)
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
from pisa.conf import FEED_PROTOCOL, FEED_ADDR, FEED_PORT
|
from pisa.conf import FEED_PROTOCOL, FEED_ADDR, FEED_PORT
|
||||||
from flask import Flask, request, Response, abort
|
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 threading import Thread
|
||||||
from pisa.rpc_errors import *
|
from pisa.rpc_errors import *
|
||||||
from pisa.tools import check_txid_format
|
from pisa.tools import check_txid_format
|
||||||
0
test/unit/__init__.py
Normal file
0
test/unit/__init__.py
Normal file
Reference in New Issue
Block a user