From 2035e7d153ea5a118aa63182d454964609429e8d Mon Sep 17 00:00:00 2001 From: rallytime Date: Wed, 12 Feb 2014 11:04:35 -0700 Subject: [PATCH] Added S0undt3ch's skipIf suggestion --- tests/unit/modules/dig_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/modules/dig_test.py b/tests/unit/modules/dig_test.py index 38d817cead..82faf07c0e 100644 --- a/tests/unit/modules/dig_test.py +++ b/tests/unit/modules/dig_test.py @@ -14,6 +14,7 @@ from salt.modules import dig @skipIf(NO_MOCK, NO_MOCK_REASON) +@skipIf(dig.__virtual__() is False, 'Dig must be installed') class DigTestCase(TestCase): def test_check_ip(self):