]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix HomeTest setup 35017/head
authorTiago Melo <tmelo@suse.com>
Tue, 12 May 2020 10:29:02 +0000 (10:29 +0000)
committerTiago Melo <tmelo@suse.com>
Tue, 12 May 2020 10:29:02 +0000 (10:29 +0000)
commitfb9a23663371b99fb7001c8f83b753c395ae7be9
treec5dd0313e060bb11f98f25fb4db994068d9d0dba
parent3156ed6f9bd55f0e3451e2ed9891d88af06351b7
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>
src/pybind/mgr/dashboard/tests/test_home.py