[tests] Add NetworkThread assertions
commit5c8ff26b2fc59d8bcfa2a8bfb7c9fe6d78cf6678
authorJohn Newbery <john@johnnewbery.com>
Fri, 8 Dec 2017 15:00:33 +0000 (8 10:00 -0500)
committerJohn Newbery <john@johnnewbery.com>
Mon, 11 Dec 2017 14:17:21 +0000 (11 09:17 -0500)
treefe0bfdb8c657ba5cef79f0067e3781a89e4f8a8f
parent34e08b3510c64e35fc51327562d15d938f4b656e
[tests] Add NetworkThread assertions

Check that P2PConnections aren't created after the NetworkThread
has started and that at any time only one NetworkThread is running.
test/functional/test_framework/mininode.py