Browse Source

[tests] update zmq test to use correct config.ini file

0.15
John Newbery 7 years ago
parent
commit
4a0c08fdcf
  1. 2
      test/functional/zmq_test.py

2
test/functional/zmq_test.py

@ -28,7 +28,7 @@ class ZMQTest (BitcoinTestFramework): @@ -28,7 +28,7 @@ class ZMQTest (BitcoinTestFramework):
# Check that bitcoin has been built with ZMQ enabled
config = configparser.ConfigParser()
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))
if not config["components"].getboolean("ENABLE_ZMQ"):

Loading…
Cancel
Save