Support inherit api samples in ApiSampleTestBase

Bug #1765385 reported by Yikun Jiang on 2018-04-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Yikun Jiang

Bug Description

Avoid to add more redundant sample files, we propose to
support inherit api samples in ApiSampleTestBase.

The latest api samples file will be chosen when the user enable
the _use_inherit_api_samples flag. For example, We have
[2.62, 2.58, 2.51, 2.21] api, first, 2.62 will be chosen, but if
the 2.62 sample file doesn't exist, and then 2.58 will be chosen,
and then 2.51, and so on.

Changed in nova:
assignee: nobody → Yikun Jiang (yikunkero)
status: New → In Progress

Change abandoned by Stephen Finucane (<email address hidden>) on branch: master
Reason: Nice idea, but this is in merge conflict for quite some time and I'm not sure if anyone is prepared to respin this. Please let me know if you are and I can restore it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers