From: Aashish Sharma Date: Mon, 6 Jul 2020 13:57:38 +0000 (+0530) Subject: mgr/dashboard: increase API test coverage in API controllers X-Git-Tag: v16.1.0~1650^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=078f243d821c3b503c3cf18af0c019a7a50e53b5;p=ceph.git mgr/dashboard: increase API test coverage in API controllers Added test cases for the missing endpoints Fixes: https://tracker.ceph.com/issues/45901 Signed-off-by: Aashish Sharma --- diff --git a/src/pybind/mgr/dashboard/__init__.py b/src/pybind/mgr/dashboard/__init__.py index fa2c7ff419e..30013bb7771 100644 --- a/src/pybind/mgr/dashboard/__init__.py +++ b/src/pybind/mgr/dashboard/__init__.py @@ -9,7 +9,7 @@ import os import cherrypy if 'COVERAGE_ENABLED' in os.environ: - import coverage + import coverage # pylint: disable=import-error __cov = coverage.Coverage(config_file="{}/.coveragerc".format(os.path.dirname(__file__)), data_suffix=True) __cov.start()