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

784 B

Running tests

redfish module tests

Tests are not functional for the redfish module yet.

redfish-client tests

  1. Create your development environment following Developer setup.

  2. Install docker using the procedure.

  3. Ensure you can use docker with your current user.

  4. Jump into the python-redfish directory containing the source code.

  5. Depending of your distribution, you may have to upgrade setuptools:

    pip install --upgrade setuptools
  6. Install required modules for testings:

    pip install -t test-requirements.txt
  7. Run the test:

    tox

    or:

    py.test redfish-client