d3cc8c1e7d
The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we can use the standard lib unittest.mock module instead. Change-Id: Ia3f2c8abc87cf5551d3469d616790e8e9d567bce |
||
---|---|---|
.. | ||
checks_d | ||
detection | ||
__init__.py | ||
common.py | ||
README.md | ||
test_agent_check.py | ||
test_aggregator.py | ||
test_checks_utils.py | ||
test_config.py | ||
test_keystone.py | ||
test_metrics.py | ||
test_modify_config.py | ||
test_process.py | ||
test_remove_config.py | ||
test_service_plugin.py | ||
test_services_check.py | ||
test_statsd.py | ||
test-agent.yaml |
Tests for the mon agent.
Run with nosestests -w tests
For many tests to work an agent.yaml must be in either /etc/monasca/agent/agent.yaml or in the working directory.
Many tests require specific applications enabled in order for the test to run, these are skipped by default. See https://nose.readthedocs.org/en/latest/plugins/skip.html for details.