]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: enable coverage for API tests
authoralfonsomthd <almartin@redhat.com>
Fri, 8 Mar 2019 16:35:34 +0000 (17:35 +0100)
committeralfonsomthd <almartin@redhat.com>
Fri, 8 Mar 2019 16:35:34 +0000 (17:35 +0100)
commitda52919f69e332b3f25fff1d22ffdf83f7a62420
treeff918415f93ce582bad0d9a713f8b129e84922f8
parent3e83a6e9601b95266e4bd9ab223bc20a7791fec6
mgr/dashboard: enable coverage for API tests

* Fixed: install in system the 'coverage' version set in
  requirements.txt as dashboard/module.py uses system version.
* Updated 'coverage' to latest stable version.
* Added teuthology missing dependency:
  backports.ssl-match-hostname
* More precise coverage measurement through CherryPy Bus API.
* Coverage report shown when no ceph-mgr running
  (cleanup_teuthology).

Fixes: https://tracker.ceph.com/issues/36176
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
src/pybind/mgr/dashboard/module.py
src/pybind/mgr/dashboard/requirements.txt
src/pybind/mgr/dashboard/run-backend-api-tests.sh