monasca-agent/tests/checks_d
Doug Szumski 5af9c5a485 Remove dependency on local hostname
The json_plugin tests read the localhost name in a different way
to how the hostname is fetched in the Monasca Agent check. This can
cause these tests to fail since the hostnames may differ. For example,
only one may contain .home as a suffix. In this change we avoid reading
the hostname from the system running the tests.

Story: 2007743
Task: 39921
Change-Id: Ifddba6aa9350f722a741a28a152ed9bc3e0b7da6
2020-06-01 10:43:47 +01:00
..
fixtures Ceph plugin updates for Luminous 2019-12-18 10:59:08 +00:00
__init__.py Kibana metrics 2016-08-01 08:08:44 +02:00
test_ceph.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_cert_file_check.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_host_alive.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_ib_network.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_json_plugin.py Remove dependency on local hostname 2020-06-01 10:43:47 +01:00
test_kibana.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_kubernetes_api.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_swift_handoffs.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00
test_swift_recon.py Use unittest.mock instead of third party mock 2020-04-18 11:54:36 -05:00