mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Enable some basic.py tests on python3 (#17167)
This commit is contained in:
parent
171a094805
commit
d29a7c55fe
3 changed files with 0 additions and 5 deletions
|
@ -85,7 +85,6 @@ class TestHeuristicLogSanitize(unittest.TestCase):
|
|||
self.assertTrue(ssh_output.endswith("}"))
|
||||
self.assertIn(":********@foo.com/data'", ssh_output)
|
||||
|
||||
@unittest.skipIf(sys.version_info[0] >= 3, "Python 3 is not supported on targets (yet)")
|
||||
def test_hides_parameter_secrets(self):
|
||||
output = heuristic_log_sanitize('token="secret", user="person", token_entry="test=secret"', frozenset(['secret']))
|
||||
self.assertNotIn('secret', output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue