mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
In case the test machine can't resolve
With -v option, dig does not attemp to resolve while verifying all the given options.
This commit is contained in:
parent
95e8a2fdee
commit
14e6fb758f
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class DNSlookupsCase(TestCase):
|
|||
|
||||
@skipIf(not salt.utils.dns.HAS_DIG, 'dig is not available')
|
||||
def test_dig_options(self):
|
||||
cmd = 'dig {0}'.format(salt.utils.dns.DIG_OPTIONS)
|
||||
cmd = 'dig {0} -v'.format(salt.utils.dns.DIG_OPTIONS)
|
||||
cmd = salt.modules.cmdmod.retcode(cmd, python_shell=False, output_loglevel='quiet')
|
||||
self.assertEqual(cmd, 0)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue