]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve Nicira plugin test coverage
authorSalvatore Orlando <salv.orlando@gmail.com>
Sat, 18 May 2013 18:19:50 +0000 (20:19 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Sat, 29 Jun 2013 09:01:03 +0000 (11:01 +0200)
commit5adf507d12e8d8291f6e928da4bcaa64f20973e7
tree36a0264750516597802478d9c26ae3415a35f854
parenta87a7c2ad0909c28f3d9d62a13cec59ee4d2e0e6
Improve Nicira plugin test coverage

Blueprint nvp-test-coverage

This patch improves the Nicira plugin test coverage by:
- adding a suite of test cases for nvplib
- removing unused exception handling code
- removing 'vestigial' code in nvp plugin modules

This patches also fixes a few minor glitches with the plugin
and the fake api client.

Change-Id: Ia319f556a815e5061b867a97d834123786218fec
14 files changed:
quantum/plugins/nicira/QuantumPlugin.py
quantum/plugins/nicira/nicira_db.py
quantum/plugins/nicira/nvp_plugin_version.py [deleted file]
quantum/plugins/nicira/nvplib.py
quantum/tests/unit/nicira/etc/fake_get_lqueue.json [new file with mode: 0644]
quantum/tests/unit/nicira/etc/fake_get_lrouter_lport.json
quantum/tests/unit/nicira/etc/fake_get_lswitch_lport.json
quantum/tests/unit/nicira/etc/fake_get_lswitch_lport_status.json
quantum/tests/unit/nicira/etc/fake_get_security_profile.json [new file with mode: 0644]
quantum/tests/unit/nicira/etc/fake_put_lrouter_lport_att.json
quantum/tests/unit/nicira/fake_nvpapiclient.py
quantum/tests/unit/nicira/test_networkgw.py
quantum/tests/unit/nicira/test_nicira_plugin.py
quantum/tests/unit/nicira/test_nvplib.py