def test_discovery_diskstat_generic(params, exp_res):
    assert (list(
        diskstat.discovery_diskstat_generic(
            params,
            {
                "disk1": {},
                "disk2": {},
                "LVM disk": {},
                "VxVM disk": {},
                "xsd0 disk": {},
            },
        )) == exp_res)
def test_discovery_diskstat_generic(params, exp_res):
    assert list(
        diskstat.discovery_diskstat_generic(
            params,
            {
                'disk1': {},
                'disk2': {},
                'LVM disk': {},
                'VxVM disk': {},
                'xsd0 disk': {},
            },
        )) == exp_res