improve ut coverage of tacker-server related files

Registered by LiangLu

Currently, UT coverage of tacker is 68% in average, some new features like kubernetes-driver, new db objects, and some core features like tacker server and tacker conductor is still not full covered by UT yet.

This blueprint is aim to improve Tacker-server related files' UT coverage over 90%. Since tacker has large amout of code, in this blueprint, it is better to complete improvement by feature in step. The blueprint will include these files:

* Tacker server(current coverage)
  * tacker/api/vnflcm/v1/controller.py 68%
  * tacker/api/vnfpkgm/v1/controller.py 69%
  * tacker/conductor/conductorrpc/vnf_lcm_rpc.py 48%
  * tacker/api/views/vnf_lcm.py 42%

Target :
  * over 90% test coverage
     * codes not called/not in functions will not in UT code, but are calculated as not coverd.
        Thus some file cannot reach 90% coverage.
  * cover all non-internal methods
  * merge in Wallaby

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
LiangLu
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.