[test][unit] The method of creating resources does not support setting project_ id
Bug #1966354 reported by
ZhouHeng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Some basic unit test classes in neutron, contain basic methods for creating resources, which are often referenced by other unit tests.
eg:
MeteringPluginD
MeteringPluginD
NeutronDbPlugin
NeutronDbPlugin
NeutronDbPlugin
NeutronDbPlugin
AddressScopeTes
L3NatExtensionT
these methods only distinguish parameter "tenant_id", if the parameter "project_id" passed into, will raise error or not working.
to write a new unit test, need to set "project_id", and then use the discarded "tenant_id" is not appropriate.
Changed in neutron: | |
status: | New → In Progress |
To post a comment you must log in.
Fix is already Proposed, but bot missed updated here:- https:/ /review. opendev. org/c/openstack /neutron/ +/834874