]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
refactor LoadBalancerPluginDbTestCase setUp()
authorMark McClain <mark.mcclain@dreamhost.com>
Mon, 18 Feb 2013 19:45:28 +0000 (14:45 -0500)
committerMark McClain <mark.mcclain@dreamhost.com>
Sat, 23 Feb 2013 15:44:54 +0000 (10:44 -0500)
commit2bfc052cbbad712ff55b456930534acfe5c6469b
tree25151f47a5f7af758122aed6e3b9fc51cc6099d8
parentacb268672188621f7a1759ea5610ffd68b3ae112
refactor LoadBalancerPluginDbTestCase setUp()

fixes bug: 1129417

This fixes the bug by changing LoadBalancerPluginDbTestCase to inherit
from test_db_plugin.QuantumDbPluginV2TestCase.  This allows for the
plugin to access context managers for core resources.  Additionally,
this change adds subresource and service_plugin support to
QuantumDbPluginV2TestCase.

Change-Id: I5e838a3df6d4c7192d4a738d3860f3a162cb5a8c
quantum/tests/unit/db/loadbalancer/test_db_loadbalancer.py
quantum/tests/unit/test_db_plugin.py