]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix set-ssl-certificate{,-key} commands 41062/head
authorAlfonso Martínez <almartin@redhat.com>
Mon, 3 May 2021 16:46:08 +0000 (18:46 +0200)
committerAlfonso Martínez <almartin@redhat.com>
Mon, 3 May 2021 16:46:08 +0000 (18:46 +0200)
commitfb20990bca55ffe1712a905c3a9741e8df004e74
tree7494e59e2a32fb95fa7756908ecc7544fa78658b
parent502409c96607b35004be3f18a694f2f33b8f46a9
mgr/dashboard: fix set-ssl-certificate{,-key} commands

- Now create-self-signed-cert command relies on set-ssl-certificate{,-key} commands.
- Simplify the command testing and increase the test coverage.

Fixes: https://tracker.ceph.com/issues/50519
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/tests/__init__.py
src/pybind/mgr/dashboard/tests/test_ssl.py [new file with mode: 0644]
src/pybind/mgr/dashboard/tests/test_sso.py