]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix tox test failure
authorKiefer Chang <kiefer.chang@suse.com>
Fri, 19 Jul 2019 07:30:36 +0000 (15:30 +0800)
committerKiefer Chang <kiefer.chang@suse.com>
Fri, 19 Jul 2019 07:36:06 +0000 (15:36 +0800)
commit43a44f0693eba432439d26ea6289870566f160e6
treeaa215c2f0e70d6eb1ff9885d65082f018baef684
parentf21c7f0f589ab72a1446441b752ecd4df5f8101e
mgr/dashboard: fix tox test failure

`api/task` now also returns tasks in progress module.
Mock related function for tests.

Fixes: https://tracker.ceph.com/issues/40827
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
src/pybind/mgr/dashboard/tests/test_pool.py