python-redfish/doc/source/testing.rst
Madhuri Kumari ed4e544e6d Fix a link in doc and update develsetup
This patch updates the `develsetup.rst` link in testing.rst which
is throwing 404 with the current link. And also updated the
develsetup document to link to the dmtf/README.rst for detailed
setup steps.

Change-Id: I3d27b0e06d7a236c9491333b580fcad665d56728
2017-03-17 09:08:43 +00:00

34 lines
784 B
ReStructuredText

=============
Running tests
=============
redfish module tests
--------------------
Tests are not functional for the redfish module yet.
redfish-client tests
--------------------
#. Create your development environment following `Developer setup <http://pythonhosted.org/python-redfish/develsetup.html>`_.
#. Install docker using the `procedure <https://docs.docker.com/engine/installation/>`_.
#. Ensure you can use docker with your current user.
#. Jump into the python-redfish directory containing the source code.
#. 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