Add api-ref tests to check url and parameter for importing backups
Bug #1940669 reported by
Sofia Enriquez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
Because of https:/
In order to solve this we need to add unit/funtional tests to validate the request path of Import a backup.
description: | updated |
Changed in cinder: | |
importance: | Undecided → Wishlist |
Changed in cinder: | |
assignee: | nobody → chenwei (chenwei110) |
Changed in cinder: | |
assignee: | chenwei (chenwei110) → Haleema Khan (hsadia538) |
Changed in cinder: | |
assignee: | Haleema Khan (hsadia538) → nobody |
Changed in cinder: | |
assignee: | nobody → Ajay Pal (ajoo7) |
Changed in cinder: | |
assignee: | Ajay Pal (ajoo7) → nobody |
To post a comment you must log in.
I can see that the tests already use the correct url (/v3/%project/ backups/ import_ record) , e.g here: https:/ /opendev. org/openstack/ cinder/ src/branch/ master/ cinder/ tests/unit/ api/contrib/ test_backups. py#L2042
In https:/ /bugs.launchpad .net/cinder/ +bug/1930526 the documentation was out-of-sync with the code/tests.
I do not understand from this ticket which kind of test could have prevented the documentation bug. Or which other test could be added to improve this. Can you please clarify what test(s) could be added to improve this?