josh-fell commented on code in PR #23873:
URL: https://github.com/apache/airflow/pull/23873#discussion_r879694846


##########
tests/providers/ssh/hooks/test_ssh.py:
##########
@@ -742,7 +742,7 @@ def test_openssh_private_key(self):
 
     def test_oneline_key(self):
         with pytest.raises(Exception):
-            TEST_ONELINE_KEY = "-----BEGIN OPENSSH" + "PRIVATE 
KEY-----asdfg-----END OPENSSH PRIVATE KEY-----"
+            TEST_ONELINE_KEY = "-----BEGIN OPENSSHPRIVATE 
KEY-----asdfg-----END OPENSSHPRIVATE KEY-----"

Review Comment:
   Mashed the name here so `detect-private-key` static check wouldn't fail. 
(Although this pre-commit hook didn't pick up what's in the 
`test_openssh_private_key` test in this file and maybe that's expected?)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to