Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certains tests appelent des services externes #330

Open
fchabouis opened this issue Mar 7, 2024 · 0 comments
Open

Certains tests appelent des services externes #330

fchabouis opened this issue Mar 7, 2024 · 0 comments
Labels
dette technique des choses à traiter petit à petit pour un avenir serein

Comments

@fchabouis
Copy link
Collaborator

fchabouis commented Mar 7, 2024

Par exemple celui-ci :

def test_guess_log(self):
qui appelle "https://photon.komoot.io/api/"

Je m'en suis rendu compte car j'ai eu test qui a échoué à l'instant parce que le service externe était down.

Il faudrait remplacer par un mock.

@fchabouis fchabouis added the dette technique des choses à traiter petit à petit pour un avenir serein label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dette technique des choses à traiter petit à petit pour un avenir serein
Projects
None yet
Development

No branches or pull requests

1 participant