Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: c3b4a913d55029aa5080ff88d04b0bc2287b91ae
https://github.com/Checkmk/checkmk/commit/c3b4a913d55029aa5080ff88d04b0bc22…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
Log Message:
-----------
Fixed broken unit test which worked only by accident some time ago.
After 41a5bcb919, a global variable _hostname was not set by accident
anymore, so we need to do this explictly now. This global variable and its
2 siblings (_check_type and _service_description> really, really need to
die, this whole constructio is extremely fragile and totally
incomprehensible.
Change-Id: Idee2a90c677d75d3c58002dd2b46da650858369e