manila/manila/tests/api/v1
Goutham Pacha Ravi 94bb8fea8c Fix traceback in scheduler-stats API
There was a traceback being included in the
error message body. This is unhelpful to
end users.

The error message that included the traceback
was for this corner case where the RBAC policy
isn't aligned with the internal "context_is_admin"
policy - an unlikely combination of decisions
that a deployer would make - nevertheless,
this is an opportunity for us to fix this
code path.

Change-Id: I888d684acac2133425f986ec7cef5e4f5cdcc5b6
Closes-Bug: #1917520
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
(cherry picked from commit a13ff5d5a7)
(cherry picked from commit 177ce7e949)
2021-05-24 16:33:20 +00:00
..
__init__.py Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
stubs.py Transform share and share servers statuses to lowercase 2015-06-02 13:35:44 +03:00
test_limits.py Add new quota for share replicas 2020-04-06 13:17:30 +00:00
test_scheduler_stats.py Fix traceback in scheduler-stats API 2021-05-24 16:33:20 +00:00
test_security_service.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_share_manage.py Fix logic that determines a share exists before manage 2020-12-08 21:06:25 -08:00
test_share_metadata.py Refactor share metadata tests to use DB 2016-01-08 02:51:36 +00:00
test_share_servers.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_share_snapshots.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_share_types_extra_specs.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_share_unmanage.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_shares.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00