Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 64d866f048c30283efad80df5d0f8aa8a6fa14ad
https://github.com/tribe29/checkmk/commit/64d866f048c30283efad80df5d0f8aa8a…
Author: Max Linke <max.linke(a)tribe29.com>
Date: 2022-09-08 (Thu, 08 Sep 2022)
Changed paths:
M cmk/special_agents/agent_datadog.py
M tests/unit/cmk/special_agents/test_agent_datadog_.py
Log Message:
-----------
Use protocol for datadog tests
Typing enforces to specify a protocol. Otherwise we could use duck
typing. This is needed to exhaustively test the datadog logs extension
of this special agent. For the logs we need to handle rate limiting 429
responses from datadog. The previous monkeypatch approch was not
possible for such a test.
Change-Id: I73fcfafb578076d3365d1e17d1581f5d282ef2e4