Hash randomization makes one of the heuristic_log_sanitize checks not work.

Nothing we can do, when it sanitizes ssh_urls it's simply overzealous.
This commit is contained in:
Toshio Kuratomi 2015-03-12 11:37:57 -07:00
parent 8d847efa37
commit 6aaf77ac76

View file

@ -321,7 +321,7 @@ class TestModuleUtilsBasicHelpers(unittest.TestCase):
# the password we can tell some things about the beginning and end of
# the data, though:
self.assertTrue(ssh_output.startswith("{'"))
self.assertTrue(ssh_output.endswith("'}}}}"))
self.assertTrue(ssh_output.endswith("}"))
try:
self.assertIn(":********@foo.com/data',", ssh_output)
except AttributeError: