def METHOD_NAME(self, tool):
    options, _ = tool.parse_args(["scan"])
    with pytest.raises(checks_mod.SkipCheck, match="network checks not enabled"):
        init_check(checks_mod.NetworkCheck, options)