Added the ability to get the avg cpu perc since last run instead of blocking and getting the current cpu perc. Change-Id: I46682759ba5495838745a7e3dca2fc0d405df7a3
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.