]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix some setup steps in HACKING.rst 24788/head
authorRanjitha G <ranjitha.kmg@gmail.com>
Sat, 27 Oct 2018 16:18:27 +0000 (21:48 +0530)
committerRanjitha G <ranjitha.kmg@gmail.com>
Fri, 9 Nov 2018 04:45:21 +0000 (10:15 +0530)
Signed-off-by: Ranjitha G <ranjitha.kmg@gmail.com>
src/pybind/mgr/dashboard/HACKING.rst

index 83f7ff2109216e66f52daacf4a096a2d70c3aa5d..698ad473f5aa1427f862110af5b9750337b5c636 100644 (file)
@@ -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):