diff options
author | Lenz Grimmer <lenz@grimmer.com> | 2018-11-14 13:44:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 13:44:19 +0100 |
commit | acde3a4d4cf2222a56ebd1a97a231a913f641c1c (patch) | |
tree | e087419d585cff5c88cd6e4e5bed616c21ecdabf /src | |
parent | Merge pull request #25080 from smithfarm/wip-37089 (diff) | |
parent | mgr/dashboard: Fix some setup steps in HACKING.rst (diff) | |
download | ceph-acde3a4d4cf2222a56ebd1a97a231a913f641c1c.tar.xz ceph-acde3a4d4cf2222a56ebd1a97a231a913f641c1c.zip |
Merge pull request #24788 from Ranjitha-G/dashboard-hacking-doc
mgr/dashboard: Fix some setup steps in HACKING.rst
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/pybind/mgr/dashboard/HACKING.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pybind/mgr/dashboard/HACKING.rst b/src/pybind/mgr/dashboard/HACKING.rst index 0e7983928c3..dc42b75ec75 100644 --- a/src/pybind/mgr/dashboard/HACKING.rst +++ b/src/pybind/mgr/dashboard/HACKING.rst @@ -255,8 +255,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 @@ -615,7 +615,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): |