]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve test coverage in NEC plugin
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 20 May 2013 20:07:05 +0000 (05:07 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Fri, 7 Jun 2013 14:06:42 +0000 (23:06 +0900)
commit81ce9890ce4299b98713a641f36e8e099db178c1
tree977d2ed4bf3cd317790754671af6e5ea88ff20af
parentf83931af80d8166c53622ce5e6248205a4d7afaa
Improve test coverage in NEC plugin

blueprint nec-plugin-test-coverage

This commit adds the following changes in unit tests.
- Unit tests to check communications with the controller in NEC plugin
- Unit tests for nec plugin agent
- Improve coverage of OFC drivers
- Mock the client to talk with the external controller in db.

Change-Id: I2b9ab0480da312ea5e804ca04b543cc144b7e545
quantum/plugins/nec/nec_plugin.py
quantum/tests/unit/nec/test_nec_agent.py [new file with mode: 0644]
quantum/tests/unit/nec/test_nec_plugin.py
quantum/tests/unit/nec/test_pfc_driver.py
quantum/tests/unit/nec/test_security_group.py
quantum/tests/unit/nec/test_trema_driver.py