def test_has_target_no_target(self):
        self.assertRaises(SaltInvocationError, aliases.has_target, 'foo', '')
Tests return of known alias and empty target
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/aliases_test.py/AliasesTestCase.test_has_target_no_target