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