]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor test_type_gre/vxlan to reduce duplicate code
authorCedric Brandily <zzelle@gmail.com>
Tue, 19 Aug 2014 17:15:12 +0000 (19:15 +0200)
committerCedric Brandily <zzelle@gmail.com>
Tue, 26 Aug 2014 10:15:19 +0000 (12:15 +0200)
commit190d0691b5fca5a0666e46f6dad98d6386b7dd29
tree8c2322a8d2d6ab18f3e094cd19287aeb75278ad1
parent1100367d4fd5dfe4322e11598dd2f379af916f25
Refactor test_type_gre/vxlan to reduce duplicate code

gre and vxlan type drivers have similar implementation for multiple
methods and associated tests. This change abstracts these tests.

Change-Id: Ic0e2119a81540c509c214008cce9dc50f55dd6de
neutron/tests/unit/ml2/test_type_gre.py
neutron/tests/unit/ml2/test_type_vxlan.py