Skip to content

Commit

Permalink
Hash randomization makes one of the heuristic_log_sanitize checks not…
Browse files Browse the repository at this point in the history
… work.

Nothing we can do, when it sanitizes ssh_urls it's simply overzealous.
  • Loading branch information
abadger committed Mar 12, 2015
1 parent b1d78a6 commit 644e50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/units/TestModuleUtilsBasic.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def test_log_sanitize_correctness(self):
# 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:
Expand Down

0 comments on commit 644e50f

Please sign in to comment.