summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeroen Hoekx <jeroen.hoekx@hamok.be>2012-04-24 17:01:48 +0200
committerJeroen Hoekx <jeroen.hoekx@hamok.be>2012-04-24 17:01:48 +0200
commitcc579a8aa2f7721d5feb75ac03964b6b0862a9c3 (patch)
tree326557617c69c6043b0dd357b9a09b2e13def586 /test
parentd3d26d0cd6d2200f6e2a97aa95bfe4c8636c39af (diff)
downloadansible-cc579a8aa2f7721d5feb75ac03964b6b0862a9c3.tar.gz
Fix tests for facter and the ansible_facts API.
Diffstat (limited to 'test')
-rw-r--r--test/TestRunner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TestRunner.py b/test/TestRunner.py
index 96c88ee4b3..74e7952e86 100644
--- a/test/TestRunner.py
+++ b/test/TestRunner.py
@@ -85,7 +85,7 @@ class TestRunner(unittest.TestCase):
if not get_binary("facter"):
raise SkipTest
result = self._run('facter',[])
- assert "hostname" in result['ansible_facts']
+ assert "hostname" in result
# temporarily disbabled since it occasionally hangs
# ohai's fault, setup module doesn't actually run this
@@ -95,7 +95,7 @@ class TestRunner(unittest.TestCase):
# if not get_binary("facter"):
# raise SkipTest
# result = self._run('ohai',[])
- # assert "hostname" in result['ansible_facts']
+ # assert "hostname" in result
def test_copy(self):
# test copy module, change trigger, etc