Actions
Bug #40487
closedmgr/dashboard: clean-up python unit tests
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Currently Python unit tests (actually doctests) bring in dependencies for other packages (rados, rbd, cephfs). Most of them aren't actually used at doctests, but cause ImportErrors
.
By removing those dependencies, dashboard python unit-tests (240) now can be quickly run (<40 s) in python-only docker environments (e.g.: travis-ci, or CircleCI), without needing extra packages (python-rados, or RBD/CephFS python bindings).
Actions