]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard_v2: Refactored `RESTControllerTest`: 20765/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 9 Mar 2018 09:01:54 +0000 (10:01 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 9 Mar 2018 09:01:54 +0000 (10:01 +0100)
commit7b912b8b52663e47837b52efae3d9fe968642137
tree14e65b97ef2834f5aa824bf19952a82424e76c2f
parent9603c1d0a4b7bcf395dd5c7c319c78181474bd73
mgr/dashboard_v2: Refactored `RESTControllerTest`:

* Made `RESTControllerTest` inherent from `ControllerTestCase`
* Refactored `ControllerTestCase`
* Simplified all tests that inherent from  `ControllerTestCase`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/pybind/mgr/dashboard_v2/tests/helper.py
src/pybind/mgr/dashboard_v2/tests/test_rbd_mirroring.py
src/pybind/mgr/dashboard_v2/tests/test_tcmu_iscsi.py
src/pybind/mgr/dashboard_v2/tests/test_tools.py
src/pybind/mgr/dashboard_v2/tools.py