Refactor Python Node ping function (#643)

* Refactor ping command to remove pexpect dependency on each cert test
This commit is contained in:
Nick Banks
2016-09-20 18:13:57 -07:00
committed by Jonathan Hui
parent 1ec2e76ecd
commit c063ec1477
69 changed files with 133 additions and 222 deletions
@@ -27,7 +27,6 @@
# POSSIBILITY OF SUCH DAMAGE.
#
import pexpect
import time
import unittest
@@ -131,7 +130,7 @@ class Cert_5_2_5_AddressQuery(unittest.TestCase):
addrs = self.nodes[REED].get_addrs()
for addr in addrs:
if addr[0:4] != 'fe80':
self.nodes[ED2].ping(addr)
self.assertTrue(self.nodes[ED2].ping(addr))
time.sleep(1)
if __name__ == '__main__':