diff --git a/docs/guides/testing/testing.rst b/docs/guides/testing/testing.rst index 879020e874..155a92626b 100644 --- a/docs/guides/testing/testing.rst +++ b/docs/guides/testing/testing.rst @@ -256,8 +256,8 @@ How to output coverage locally These are examples of how to run a single test and get coverage:: - pytest cms/djangoapps/contentstore/tests/test_import.py --cov --cov-conifg=.coveragerc-local # cms example - pytest lms/djangoapps/courseware/tests/test_module_render.py --cov --cov-conifg=.coveragerc-local # lms example + pytest cms/djangoapps/contentstore/tests/test_import.py --cov --cov-config=.coveragerc-local # cms example + pytest lms/djangoapps/courseware/tests/test_module_render.py --cov --cov-config=.coveragerc-local # lms example That ``--cov-conifg=.coveragerc-local`` option is important - without it, the coverage tool will look for paths that exist on our jenkins test servers, but not on your local devstack.