mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-10 23:27:54 +00:00
[tests] update zmq test to use correct config.ini file
This commit is contained in:
parent
9c248e39f2
commit
4a0c08fdcf
@ -28,7 +28,7 @@ class ZMQTest (BitcoinTestFramework):
|
|||||||
# Check that bitcoin has been built with ZMQ enabled
|
# Check that bitcoin has been built with ZMQ enabled
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
if not self.options.configfile:
|
if not self.options.configfile:
|
||||||
self.options.configfile = os.path.dirname(__file__) + "/config.ini"
|
self.options.configfile = os.path.dirname(__file__) + "/../config.ini"
|
||||||
config.read_file(open(self.options.configfile))
|
config.read_file(open(self.options.configfile))
|
||||||
|
|
||||||
if not config["components"].getboolean("ENABLE_ZMQ"):
|
if not config["components"].getboolean("ENABLE_ZMQ"):
|
||||||
|
Loading…
Reference in New Issue
Block a user