[x] I used gofmt for formatting the code before submitting the pull request.
the test TestAddRepoToPyprojectFile was failing due error to resolve dependencies.
the problem is that the test should not have tried to run poetry update command as it attempts to resolve dependencies from a non-existing artifactory repo.
Fix:
Split functionality of addRepoToPyprojectFile and poetry update to a different function
[![👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)
[x] I used gofmt for formatting the code before submitting the pull request.
the test
TestAddRepoToPyprojectFile
was failing due error to resolve dependencies.the problem is that the test should not have tried to run poetry update command as it attempts to resolve dependencies from a non-existing artifactory repo.
Fix: Split functionality of
addRepoToPyprojectFile
andpoetry update
to a different function