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

735 B

Running tests

redfish module tests

Tests are not functional for the redfish module yet.

refish-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 redfish-python directory containing the sources.

  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