The documentation for 'Developing Salt' is missing a critical step for 0.17+ users who wish to utilize the test runner. This commit describes the direct installation of salt-testing.

Forthcoming will be a re-write what appears to be a new method for establishing a development environment through the use of dev_requirements_python2(6|7).txt, once I have a chance to verify
that the workflow is as expected.
This commit is contained in:
Mike Place 2013-10-04 12:06:43 -06:00
parent bd1da286ac
commit 766b3f405d

View File

@ -361,6 +361,22 @@ If you are on Python < 2.7 then you will also need unittest2:
pip install unittest2 pip install unittest2
.. note::
In Salt 0.17, testing libraries were migrated into their own repo. To install them:
.. code-block:: bash
pip install git+https://github.com/saltstack/salt-testing.git#egg=SaltTesting
Failure to install SaltTesting will result in import errors similar to the following:
.. code-block:: bash
ImportError: No module named salttesting
Finally you use setup.py to run the tests with the following command: Finally you use setup.py to run the tests with the following command:
.. code-block:: bash .. code-block:: bash