]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Document manager core unit tests 30364/head
authorStephan Müller <smueller@suse.com>
Thu, 5 Sep 2019 13:34:00 +0000 (15:34 +0200)
committerStephan Müller <smueller@suse.com>
Wed, 6 Nov 2019 12:13:09 +0000 (13:13 +0100)
Fixes: https://tracker.ceph.com/issues/40363
Signed-off-by: Stephan Müller <smueller@suse.com>
doc/dev/developer_guide/index.rst

index 419a361f9af2b31bb7cf55fe6697702b68cdecca..10beb96067b80d096bb301df06ce4d0a3140c72f 100644 (file)
@@ -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
 -----------------