manila/manila/tests
Goutham Pacha Ravi a13ff5d5a7 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>
2021-03-02 15:53:02 -08:00
..
api Fix traceback in scheduler-stats API 2021-03-02 15:53:02 -08:00
cmd remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
common Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
compute Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
data Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
db remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
hacking remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
image Fix NFS/CIFS share creation failure issue 2020-06-30 12:46:28 -04:00
integrated Fix unit tests to use requests 2021-02-15 17:04:33 -08:00
message Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
monkey_patch_example Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
network remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
scheduler remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
share Merge "remove usage of six library from unit tests" 2021-02-03 23:18:40 +00:00
share_group Use assertEqual instead of assertItemsEqual 2020-07-20 16:44:50 +08:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
wsgi Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
xenapi Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
conf_fixture.py Advertise v2 API routes without project_id 2021-02-04 23:20:19 -08:00
db_utils.py Add share network with multiple subnets 2019-09-13 11:27:18 -03:00
declare_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_client_exception_class.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
fake_compute.py Fix error that failed to get image for booting server 2019-12-13 01:31:22 +00:00
fake_driver.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
fake_network.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
fake_notifier.py Disable notifications 2017-07-17 12:45:11 -03:00
fake_service_instance.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
fake_share.py Advertise v2 API routes without project_id 2021-02-04 23:20:19 -08:00
fake_utils.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
fake_volume.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_zfssa.py Add share manage/unmanage of Oracle ZFSSA driver 2016-07-05 15:58:18 -04:00
policy.yaml [goal] Deprecate the JSON formatted policy file 2020-12-13 00:05:00 +00:00
runtime_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_api.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
test_conf.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_context.py Remove unit test that is not relevant anymore 2017-01-28 12:02:24 +02:00
test_coordination.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_exception.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
test_hacking.py disable M325 2020-10-14 14:05:30 +08:00
test_manager.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_network.py Add manage/unmanage of shares in DHSS=True 2019-03-05 16:03:29 -03:00
test_policy.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
test_quota.py Fix manila OverQuota issue while managing shares 2020-09-18 21:28:11 +00:00
test_rpc.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_service.py Use unittest.mock instead of third party lib 2020-04-17 16:24:27 -07:00
test_test.py Handle oslo.messaging ping endpoint 2020-09-08 11:20:41 -07:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00
utils.py remove usage of six library from unit tests 2021-01-28 10:47:40 +08:00