From badd2a61065192312d2095e500a27fb2cbd8aa1f Mon Sep 17 00:00:00 2001 From: Ranjitha G Date: Sat, 27 Oct 2018 21:48:27 +0530 Subject: [PATCH] mgr/dashboard: Fix some setup steps in HACKING.rst Signed-off-by: Ranjitha G --- src/pybind/mgr/dashboard/HACKING.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/dashboard/HACKING.rst b/src/pybind/mgr/dashboard/HACKING.rst index 83f7ff21092..698ad473f5a 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): -- 2.39.5