mirror of
https://git.hush.is/hush/hush3.git
synced 2025-09-12 00:01:59 -04:00
Add connections in BIP65 and BIP66 tests to the test manager
Fixes a bug in the tests causing them to silently pass instead of correctly reporting other errors. Introduced in 4a785b0a5ba9689e0a76f202c34e0d310a7487d7 during the test rewrites.
This commit is contained in:
parent
b86b9feb6c
commit
243b6a9d4b
@ -38,7 +38,7 @@ class BIP65Test(ComparisonTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
test = TestManager(self, self.options.tmpdir)
|
||||
# Don't call test.add_all_connections because there is only one node.
|
||||
test.add_all_connections(self.nodes)
|
||||
NetworkThread().start() # Start up network handling in another thread
|
||||
test.run()
|
||||
|
||||
|
@ -37,7 +37,7 @@ class BIP66Test(ComparisonTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
test = TestManager(self, self.options.tmpdir)
|
||||
# Don't call test.add_all_connections because there is only one node.
|
||||
test.add_all_connections(self.nodes)
|
||||
NetworkThread().start() # Start up network handling in another thread
|
||||
test.run()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user