mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 06:31:23 -07:00
Update tests to use 127.0.0.2 to bypass the smart "use local connection" code, and also to reflect
that commands now trigger change events.
This commit is contained in:
parent
da9d4eb29a
commit
eed4a2b717
3 changed files with 35 additions and 26 deletions
|
@ -66,8 +66,8 @@ class TestRunner(unittest.TestCase):
|
|||
# when using nosetests this will only show up on failure
|
||||
# which is pretty useful
|
||||
print "RESULTS=%s" % results
|
||||
assert "127.0.0.1" in results['contacted']
|
||||
return results['contacted']['127.0.0.1']
|
||||
assert "127.0.0.2" in results['contacted']
|
||||
return results['contacted']['127.0.0.2']
|
||||
|
||||
def test_ping(self):
|
||||
result = self._run('ping',[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue