Witold Bedyk 20b5b95f1e Fix tests.detection.test_mon
Static class variables of FakeProcesses class were used in all test
methods. These variables were used in an uncoordinated way causing tests
to fail ocassionally, depending on the grouping and ordering of the
tests in the worker processes.

Code has been refactored and instance variables are used now in all test
methods.

Change-Id: Ic87a00883dc6cff128809f24164d95eb8c98ae91
Story: 2002848
Task: 22797
2018-08-13 11:17:51 -04:00
..
2018-04-14 11:50:07 +00:00
2018-08-13 11:17:51 -04:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2017-07-11 09:02:34 +02:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
2018-04-14 11:50:07 +00:00
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.