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.
pull/10448/head
Toshio Kuratomi 10 years ago
parent b1d78a61fc
commit 644e50fe34

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

Loading…
Cancel
Save