@patch('salt.modules.hosts._list_hosts', MagicMock(return_value=''))
    def test_get_ip_none(self):
        self.assertEqual('', hosts.get_ip('Salt1'))

    # 'get_alias' function tests: 2
This unregister call will go away once the client switchover
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/hosts_test.py/HostsTestCase.test_get_ip_none--crossover with--dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/utils.py/remove_cli_error_event