Bug #111918
openPytest 9.0, nox et ciblage des tests à lancer
0%
Description
Jusqu'à maintenant on pouvait cibler les tests à lancer via : nox -e "le-nom-de-l'env" -- tests/test_whatever.py.
Ça ne fonctionne plus avec pytest 9.0 : la commande ci-dessous lance tous les tests contenus dans le répertoire 'tests'.
C'est parce que dans nos noxfile il y a ce motif : args += session.posargs + ['tests/'] et que le comportement de pytest est modifié dans cette situation en 9.0 (https://docs.pytest.org/en/stable/changelog.html#removals-and-backward-incompatible-breaking-changes, https://github.com/pytest-dev/pytest/issues/12083).
Updated by Emmanuel Cazenave about 1 month ago
- Status changed from Nouveau to En cours
- Assignee set to Emmanuel Cazenave
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/chrono/pulls/525
- Titre : WIP: ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/chrono/pulls/525/files
Updated by Emmanuel Cazenave about 1 month ago
- Status changed from En cours to Solution proposée
Updated by Yann Weber about 1 month ago
- Status changed from Solution proposée to En cours
🤖 Modifications demandées sur la pull request :
Updated by Robot Gitea about 1 month ago
- Status changed from En cours to Solution proposée
Updated by Yann Weber about 1 month ago
- Status changed from Solution proposée to Solution validée
🤖 Pull request approuvée :
Updated by Emmanuel Cazenave about 1 month ago
- Status changed from Solution validée to Résolu (à déployer)
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/chrono/pulls/525
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/chrono/pulls/525/files
Updated by Yann Weber about 1 month ago
- Assignee changed from Emmanuel Cazenave to Yann Weber
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/passerelle/pulls/825
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/passerelle/pulls/825/files
Updated by Emmanuel Cazenave about 1 month ago
- Assignee changed from Yann Weber to Emmanuel Cazenave
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/662
- Titre : WIP: ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/662/files
Updated by Yann Weber about 1 month ago
- Assignee changed from Emmanuel Cazenave to Yann Weber
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/publik-django-templatetags/pulls/54
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/publik-django-templatetags/pulls/54/files
Updated by Yann Weber about 1 month ago
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/2511
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/2511/files
Updated by Emmanuel Cazenave about 1 month ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/662
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/662/files
Updated by Yann Weber about 1 month ago
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/lingo/pulls/455
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/lingo/pulls/455/files
Updated by Yann Weber about 1 month ago
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/283
- Titre : WIP: ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/283/files
Updated by Yann Weber 29 days ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/publik-django-templatetags/pulls/54
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/publik-django-templatetags/pulls/54/files
Updated by Yann Weber 29 days ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/lingo/pulls/455
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/lingo/pulls/455/files
Updated by Yann Weber 29 days ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/283
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/283/files
Updated by Yann Weber 29 days ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/passerelle/pulls/825
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/passerelle/pulls/825/files
Updated by Yann Weber 29 days ago
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/2511
- Titre : ci: repair test targeting (#111918)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/2511/files