@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
Tests return ip associated with the named host
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/hosts_test.py/HostsTestCase.test_get_ip_none