Merge pull request #38198 from vutny/unit-tests-require-libcloud-boto3

Add missing requirements for running unit tests: libcloud and boto3
This commit is contained in:
Mike Place 2016-12-13 07:12:20 -07:00 committed by GitHub
commit 004e46afe7
3 changed files with 6 additions and 17 deletions

View file

@ -110,23 +110,8 @@ On Debian, Ubuntu or their derivatives run the following commands:
This will install the latest ``pycrypto`` and ``pyzmq`` (with bundled
``libzmq``) Python modules required for running integration tests suite.
.. 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
Once all requirements are installed, use ``tests/runtests.py`` to
run all of the tests included in Salt's test suite:
Once all requirements are installed, use ``runtests.py`` script to run all of
the tests included in Salt's test suite:
.. code-block:: bash

View file

@ -1,6 +1,8 @@
-r base.txt
mock
apache-libcloud>=0.14.0
boto>=2.32.1
boto3>=1.2.1
moto>=0.3.6
SaltTesting==2015.2.16

View file

@ -1,6 +1,8 @@
-r base.txt
mock
apache-libcloud>=0.14.0
boto>=2.32.1
boto3>=1.2.1
moto>=0.3.6
SaltTesting>=2015.2.16