]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor type_gre.vxlan tests to reduce duplicate code
authorCedric Brandily <zzelle@gmail.com>
Sat, 30 May 2015 20:04:59 +0000 (22:04 +0200)
committerCedric Brandily <zzelle@gmail.com>
Sat, 30 May 2015 20:08:35 +0000 (22:08 +0200)
commitb7ffbf96ff414ce615c10c83fea85d7f1fdcce70
tree81fe9951a658eabd3123c0671712ca033ed01f02
parentcd44750e9d52ee5c846f6406a69ee4f4a8d7cb52
Refactor type_gre.vxlan tests to reduce duplicate code

gre and vxlan type drivers unittests have similar tests. This change
abstracts these tests and moves them to TunnelTypeTestMixin[1].

[1] neutron.tests.unit.plugins.ml2.drivers.base_type_tunnel

Change-Id: I13b0507991e840ff34de7ed7ffd31d359691b0ca
neutron/tests/unit/plugins/ml2/drivers/base_type_tunnel.py
neutron/tests/unit/plugins/ml2/drivers/test_type_gre.py
neutron/tests/unit/plugins/ml2/drivers/test_type_vxlan.py