]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Simplify prepare_veth_pairs in functional tests
authorCedric Brandily <zzelle@gmail.com>
Fri, 27 Feb 2015 20:54:06 +0000 (20:54 +0000)
committerCedric Brandily <zzelle@gmail.com>
Mon, 2 Mar 2015 10:40:31 +0000 (10:40 +0000)
commitdcd45d8a27351f5545b26f8a902b57e50f546bbe
tree48e041a03a457dcb77e7d482d30c12f19610ab3f
parentd283e23d7658162f911240bf6a4e707e3709093a
Simplify prepare_veth_pairs in functional tests

This change simplifies prepare_veth_pairs[1] as optional arguments are
never used by prepare_veth_pairs callers and uses create_veth.

This changes prepares to transform BaseLinuxTestCase[1] and
BaseOVSLinuxTestCase[1] methods in to helper methods.

[1] in neutron.tests.functional.agent.linux.base

Change-Id: I2e50057023bbf7575051f04b65cacc093338938a
neutron/tests/functional/agent/linux/base.py