Ejemplo n.º 1
0
def test_check_datapower_fan(
    datapower_fan_plugin: CheckPlugin,
    item: str,
    expected_result: Result,
) -> None:
    assert (list(
        datapower_fan_plugin.check_function(
            item=item,
            params={},
            section=_SECTION,
        )) == [expected_result])
Ejemplo n.º 2
0
def test_check_scaleio_devices(
    scaleio_devices: CheckPlugin,
    item: str,
    expected_result: list[Result],
) -> None:
    assert (list(
        scaleio_devices.check_function(
            item=item,
            params={},
            section=_SECTION,
        )) == expected_result)