tree: 31015ee53c16af89e37c53be54a0a3ec16570c06 [path history] [tgz]
  1. dmaap_simulator/
  2. dmaap_test/
  3. __init__.py
  4. CertsLibrary.py
  5. DcaeLibrary.py
  6. DcaeVariables.py
  7. DmaapLibrary.py
  8. README.md
tests/dcaegen2/testcases/resources/robot_library/README.md

Robot Library

This catalog contains python files used in Robot tests for dcaegen2.ves.

DMaaP Simulator

Catalog dmaap_simulator contains python implementation of DMaaP simulator. It uses python BaseHTTPServer to expose endpoints.

DMaaP Tests

Catalog dmaap_test contains tests that are used to validate DMaaP simulator. Test are using "pytest" and "MagicMock".

In order to run tests:

  1. create virtual environemnt with Python 2.7;
  2. install requirements from file requirements.txt located in dmaap_test;
  3. set environement variable WORKSPACE to point root csit catalog
  4. run py.test command in catalog dmaap_test