jfrog / jfrog-cli-core

Apache License 2.0
32 stars 55 forks source link

Fix poetry failing test #1151

Closed EyalDelarea closed 4 months ago

EyalDelarea commented 4 months ago

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

github-actions[bot] commented 4 months ago
[![👍 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)

[🐸 JFrog Frogbot](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)