Fixes: https://tracker.ceph.com/issues/40363
Signed-off-by: Stephan Müller <smueller@suse.com>
proxy.conf.json
+
+# tox related
+.coverage*
+htmlcov
+.tox
+coverage.xml
+junit*xml
+.cache
+
+# IDE
+.vscode
+*.egg
+.env
+
+# virtualenv
+venv
add_subdirectory(ansible)
add_subdirectory(orchestrator_cli)
+if(WITH_TESTS)
+ include(AddCephTest)
+ add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR})
+endif()
+
# Location needs to match default setting for mgr_module_path, currently:
# OPTION(mgr_module_path, OPT_STR, CEPH_PKGLIBDIR "/mgr")
install(DIRECTORY
--- /dev/null
+pytest-cov==2.7.1
--- /dev/null
+[tox]
+envlist = py3
+skipsdist = true
+
+[testenv]
+deps = -rrequirements.txt
+commands = pytest --cov --cov-append --cov-report=term --doctest-modules mgr_util.py {posargs}