From: Ranjitha G Date: Sat, 27 Oct 2018 16:18:27 +0000 (+0530) Subject: mgr/dashboard: Fix some setup steps in HACKING.rst X-Git-Tag: v14.1.0~931^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24788%2Fhead;p=ceph.git mgr/dashboard: Fix some setup steps in HACKING.rst Signed-off-by: Ranjitha G --- diff --git a/src/pybind/mgr/dashboard/HACKING.rst b/src/pybind/mgr/dashboard/HACKING.rst index 83f7ff210921..698ad473f5aa 100644 --- a/src/pybind/mgr/dashboard/HACKING.rst +++ b/src/pybind/mgr/dashboard/HACKING.rst @@ -227,8 +227,8 @@ Alternatively, you can use Python's native package installation method:: $ pip install tox $ pip install coverage -To run the tests, run ``tox`` in the dashboard directory (where ``tox.ini`` -is located). +To run the tests, run ``run-tox.sh`` in the dashboard directory (where +``tox.ini`` is located). We also collect coverage information from the backend code. You can check the coverage information provided by the tox output, or by running the following @@ -587,7 +587,7 @@ If we want to write a unit test for the above ``Ping`` controller, create a class PingTest(ControllerTestCase): @classmethod def setup_test(cls): - Ping._cp_config['tools.authentication.on'] = False + Ping._cp_config['tools.authenticate.on'] = False cls.setup_controllers([Ping]) def test_ping(self):