From: Stephan Müller Date: Thu, 5 Sep 2019 13:34:00 +0000 (+0200) Subject: doc: Document manager core unit tests X-Git-Tag: v15.1.0~942^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cf6c9b4083aa4f6bc1687e76d527aa23884f10fa;p=ceph.git doc: Document manager core unit tests Fixes: https://tracker.ceph.com/issues/40363 Signed-off-by: Stephan Müller --- diff --git a/doc/dev/developer_guide/index.rst b/doc/dev/developer_guide/index.rst index 419a361f9af2..10beb96067b8 100644 --- a/doc/dev/developer_guide/index.rst +++ b/doc/dev/developer_guide/index.rst @@ -828,6 +828,17 @@ Here some examples from ceph dashboard on how to specify different environments $ ../../../script/run_tox.sh --tox-env py27,py3,lint,check $ ../../../script/run_tox.sh --tox-env py3,lint,check +Manager core unit tests +""""""""""""""""""""""" + +Currently only doctests_ inside +``mgr_util.py`` are run. + +To add more files that should be tested inside the core of the manager add them at the end +of the line that includes ``mgr_util.py`` inside ``tox.ini``. + +.. _doctests: https://docs.python.org/3/library/doctest.html + Unit test caveats -----------------