]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: check for correct DashboardException error codes
authorTatjana Dehler <tdehler@suse.com>
Tue, 8 Oct 2019 13:07:18 +0000 (15:07 +0200)
committerTatjana Dehler <tdehler@suse.com>
Fri, 11 Oct 2019 08:46:26 +0000 (10:46 +0200)
commit4dd83fd6aabbec51f430790d546b444767b27c47
treeea33955854c2c116c9ed6fc488591fbe0d33e32f
parentd7ac40e55d41f409a965154ac815e74f1871cfaa
mgr/dashboard: check for correct DashboardException error codes

We need to check for the correct error codes.
Otherwise the integration tests are going to fail.

Fixes: https://tracker.ceph.com/issues/42222
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
qa/tasks/mgr/dashboard/test_user.py
src/pybind/mgr/dashboard/controllers/user.py