Fix tests for facter and the ansible_facts API.
parent
d3d26d0cd6
commit
cc579a8aa2
|
@ -85,7 +85,7 @@ class TestRunner(unittest.TestCase):
|
||||||
if not get_binary("facter"):
|
if not get_binary("facter"):
|
||||||
raise SkipTest
|
raise SkipTest
|
||||||
result = self._run('facter',[])
|
result = self._run('facter',[])
|
||||||
assert "hostname" in result['ansible_facts']
|
assert "hostname" in result
|
||||||
|
|
||||||
# temporarily disbabled since it occasionally hangs
|
# temporarily disbabled since it occasionally hangs
|
||||||
# ohai's fault, setup module doesn't actually run this
|
# ohai's fault, setup module doesn't actually run this
|
||||||
|
@ -95,7 +95,7 @@ class TestRunner(unittest.TestCase):
|
||||||
# if not get_binary("facter"):
|
# if not get_binary("facter"):
|
||||||
# raise SkipTest
|
# raise SkipTest
|
||||||
# result = self._run('ohai',[])
|
# result = self._run('ohai',[])
|
||||||
# assert "hostname" in result['ansible_facts']
|
# assert "hostname" in result
|
||||||
|
|
||||||
def test_copy(self):
|
def test_copy(self):
|
||||||
# test copy module, change trigger, etc
|
# test copy module, change trigger, etc
|
||||||
|
|
Loading…
Reference in New Issue