mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-30 15:58:24 +01:00
qa: Normalize executable location
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
"""Test the ZMQ notification interface."""
|
||||
import configparser
|
||||
import os
|
||||
import struct
|
||||
|
||||
from test_framework.test_framework import BitcoinTestFramework, SkipTest
|
||||
@@ -47,8 +46,6 @@ 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.abspath(os.path.join(os.path.dirname(__file__), "../config.ini"))
|
||||
config.read_file(open(self.options.configfile))
|
||||
|
||||
if not config["components"].getboolean("ENABLE_ZMQ"):
|
||||
|
||||
Reference in New Issue
Block a user