]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix HomeTest setup 35086/head
authorTiago Melo <tmelo@suse.com>
Tue, 12 May 2020 10:29:02 +0000 (10:29 +0000)
committerTiago Melo <tmelo@suse.com>
Fri, 15 May 2020 11:25:37 +0000 (11:25 +0000)
commitb7aa278e37e4422280170a6c1a895adf0592bd0f
tree5a6c80bd9bffbeb0e30e8ae83c443715e6ee5d31
parenteaabfbe25956f31e6a926dfb6d2cc5fbda7d9ea3
mgr/dashboard: Fix HomeTest setup

'setup_controllers' was being called outside of the fake fs mock,
so the tests would fail if there was no real dist folder.

Fixes: https://tracker.ceph.com/issues/45516
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit fb9a23663371b99fb7001c8f83b753c395ae7be9)
src/pybind/mgr/dashboard/tests/test_home.py