Unnecessary use of admin namespace throughout Patrole test classes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Patrole |
Fix Released
|
Wishlist
|
Felipe Monteiro |
Bug Description
In Tempest, it is meaningful to separate admin and non-admin tests into different classes and files, because Tempest must use clients with admin credentials to perform admin-only API calls, like changing an admin password. More specifically, Tempest must use the os_adm/
Patrole, on the other hand, doesn't need to use os_adm/
Thus, all namespaces (files, folders and classes) that contain "admin" should be renamed, if the non-admin version does not already exist. If the admin version and non-admin version tests both exist, then the admin version should be removed.
description: | updated |
description: | updated |
Changed in patrole: | |
importance: | Undecided → Wishlist |
Changed in patrole: | |
assignee: | nobody → Felipe Monteiro (fm577c) |
Changed in patrole: | |
status: | In Progress → Fix Released |
Thanks Felipe for filing this bug explicitly. /blueprints. launchpad. net/patrole/ +spec/cleanup- as-a-result- of-framework- change/
This is really interesting.
I had asked Samantha also long back that we should not write explicit admin tests. This is not required as a part of RBAC framework but was not entertained much about this.
That time I was planning to work on this as a part component wise code cleanup blueprint https:/
I am adding this bug in "related bugs" field of blueprint.
Let us work on this blueprint in parallel to strengthen the Rbac framework.