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

Teste le format d'IP pour la page qui liste les membres utilisant la même IP #6553

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

philippemilink
Copy link
Member

Problème rapporté par Sentry.

Si on passe comme paramètre une adresse IP invalide, l'appel à get_geo_location_from_ip() va lever une exception ValueError, qui n'est pas rattrapée.

Contrôle qualité

Les tests ajoutés passent la CI.

Tester différentes adresses IP, par exemple :

…même IP

Si on passe comme paramètre une adresse IP invalide, l'appel à
get_geo_location_from_ip() va lever une exception ValueError, qui n'est
pas rattrapée.
@coveralls
Copy link

coveralls commented Nov 1, 2023

Coverage Status

coverage: 88.81% (+0.003%) from 88.807% when pulling 1c9bc5e on philippemilink:test-ip-format into 630f5e3 on zestedesavoir:dev.

Copy link
Contributor

@Arnaud-D Arnaud-D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA OK ✔️

@Arnaud-D Arnaud-D enabled auto-merge (squash) November 1, 2023 15:41
@Arnaud-D Arnaud-D merged commit bfd9099 into zestedesavoir:dev Nov 1, 2023
8 checks passed
@philippemilink philippemilink deleted the test-ip-format branch November 1, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants