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:
Michael DeHaan 2012-04-06 12:11:25 -04:00
commit eed4a2b717
3 changed files with 35 additions and 26 deletions

View file

@ -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',[])