Replies: 1 comment
-
Overriding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All.
I use GitPython in a unit test's fixture: it clones a repo during setup to download a stub service I can test my client against.
When I execute the tests locally there is absolutely no issue: the repo is cloned as intended. I use an SSH key.
When I use a CI environment into which I don't have an SSH key, the during clone_from I get a confirmation message: "Are you sure you want to continue connecting (yes/no/[fingerprint])?".
Using when I've found so far in the project's issues, I came up with this code:
I'd like to skip the confirmation message, as the environment is, obviously, not interactive.
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions