python-redfish/doc/source/testing.rst
2016-04-05 19:42:41 +02:00

34 lines
735 B
ReStructuredText

=============
Running tests
=============
redfish module tests
--------------------
Tests are not functional for the redfish module yet.
refish-client tests
-------------------
#. Create your development environment following `Developer setup <develsetup.html>`_.
#. Install docker using the `procedure <https://docs.docker.com/engine/installation/>`_.
#. Ensure you can use docker with your current user.
#. Jump into redfish-python directory containing the sources.
#. Depending of your distribution, you may have to upgrade setuptools::
pip install --upgrade setuptools
#. Install required modules for testings::
pip install -t test-requirements.txt
#. Run the test::
tox
or::
py.test redfish-client