def test_bench_widen_hostnames(self, hostname, benchmark): benchmark(lambda: list(configutils._widened_hostnames(hostname)))
def test_widen_hostnames(self, hostname, expected): assert list(configutils._widened_hostnames(hostname)) == expected