]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
test_l2population: Use a fake mech driver instead of ofagent
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Tue, 27 Jan 2015 02:03:47 +0000 (11:03 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Mon, 23 Feb 2015 01:48:52 +0000 (10:48 +0900)
commit95e07c62946682c6ca393d953e7922ed47bf3edc
tree40e19161724c5e31693dea78422a0968695e5d4d
parent194afde3a64b70a934ec94f40550137ceacffbe2
test_l2population: Use a fake mech driver instead of ofagent

As ofagent mech driver is subject to be moved out of neutron tree
for vendor code decomposition, use a fake mech driver for UTs
instead.

An alternative to remove the relevant test cases was considered.
But it's still nice to have test cases involving multiple drivers.

Anyway using fake drivers rather than real ones for UTs like this
is a good thing.

Partial-Bug: #1412653
Related: blueprint core-vendor-decomposition
Change-Id: I4b0d344da9ccbda79482f64535396fcc1a495d0f
neutron/tests/unit/ml2/drivers/mech_fake_agent.py [new file with mode: 0644]
neutron/tests/unit/ml2/drivers/test_l2population.py
setup.cfg