monasca-agent/tests
Stig Telfer 2099661acb Ceph plugin detects client.admin keyring
In standard system locations, check for the client.admin key
for each detected Ceph cluster and conditionally suppress
Ceph agent checks that require it if it is not found.

Change-Id: If3a28ceb5cdde40749d077ad465054eba37c848c
Story: 2005172
2019-03-08 17:19:00 +00:00
..
checks_d Add Apache License 2018-04-14 11:50:07 +00:00
detection Ceph plugin detects client.admin keyring 2019-03-08 17:19:00 +00:00
__init__.py Add Apache License 2018-04-14 11:50:07 +00:00
common.py Add Apache License 2018-04-14 11:50:07 +00:00
README.md Converted the agent config file to yaml to match the plugin config files 2015-03-02 18:36:15 -07:00
test_agent_check.py Add Apache License 2018-04-14 11:50:07 +00:00
test_aggregator.py Add python36 support 2018-10-25 09:09:53 -04:00
test_checks_utils.py Add Apache License 2018-04-14 11:50:07 +00:00
test_config.py Add Apache License 2018-04-14 11:50:07 +00:00
test_keystone.py Integrate with keystoneauth 2017-07-11 09:02:34 +02:00
test_metrics.py Add Apache License 2018-04-14 11:50:07 +00:00
test_modify_config.py Add Apache License 2018-04-14 11:50:07 +00:00
test_process.py Add Apache License 2018-04-14 11:50:07 +00:00
test_service_plugin.py Add Apache License 2018-04-14 11:50:07 +00:00
test_services_check.py Add Apache License 2018-04-14 11:50:07 +00:00
test-agent.yaml Fixed default process metrics. 2015-08-24 13:06:35 -06:00

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.