Martin Chacon Piza d3cc8c1e7d Use unittest.mock instead of mock
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
2020-08-10 13:41:08 +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
2019-07-18 16:08:09 +02:00
2019-07-18 16:08:09 +02: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.