]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor Pinger class
authorCedric Brandily <zzelle@gmail.com>
Sat, 20 Dec 2014 22:27:30 +0000 (23:27 +0100)
committerCedric Brandily <zzelle@gmail.com>
Wed, 25 Feb 2015 09:38:41 +0000 (09:38 +0000)
commit753d3162b52d700d20f83c0416ac7a196f68db70
treeb82c0f4fdd86745ce6286ddd9b6d01ed9cb88cb0
parent75c91fb0ee7613cb7a9fe0e859946fbda982382b
Refactor Pinger class

This change refactors Pinger class by:
* removing testcase attribute in order to reduce coupling between
  testcases and Pinger instances,
* defining client namespace in Pinger.__init__ instead of assert_*
  methods because it's required by daughter change.

Change-Id: I3aefbcaaa96bcd86319b2fb938b7c87f05cc882b
neutron/tests/functional/agent/linux/base.py
neutron/tests/functional/agent/linux/helpers.py
neutron/tests/functional/agent/linux/test_ipset.py
neutron/tests/functional/agent/linux/test_iptables.py
neutron/tests/tools.py