Adding unit tests for metric types. Fixing bug in log message. Change-Id: I66e4279dfaad2f67d80b46a7eaf594f93c35d62f Depends-On: Ibcf73b5ac661f4c0575f2dfb7d2d973d3c006fe2
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.