Bug #82926
tests qui échouent à minuit, sur un changement d'heure
Début:
29 octobre 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://jenkins.entrouvert.org/job/chrono/2729/
> assert ( '<a class="link-action-text" href="http://demarches/backoffice/submission/inscription-aux-activites/?agenda=%s&event=%s&ReturnURL=%s">Booking form</a>' % (agenda.slug, event.slug, 'http://testserver/manage/agendas/%d/events/open/' % agenda.pk) in resp.text ) E assert ('<a class="link-action-text" href="http://demarches/backoffice/submission/inscription-aux-activites/?agenda=%s&event=%s&ReturnURL=%s">Booking form</a>' % ('events', 'xyz', 'http://testserver/manage/agendas/503/events/open/')) in '<!DOCTYPE html>\n<html>\n <head>\n <meta charset="utf-8"/>\n <title>Events | Agendas</title>\n <meta name="...->\n\n\n <div id="footer">\n Chrono — Copyright © Entr\'ouvert\n </div>\n\n \n \n </body>\n</html>\n' E + where '<!DOCTYPE html>\n<html>\n <head>\n <meta charset="utf-8"/>\n <title>Events | Agendas</title>\n <meta name="...->\n\n\n <div id="footer">\n Chrono — Copyright © Entr\'ouvert\n </div>\n\n \n \n </body>\n</html>\n' = <200 OK text/html body=b'<!DOCTYP...l>\n'/2810>.text tests/manager/test_event.py:1467: AssertionError # event not in past assert agenda.enable_check_for_future_events is False resp = app.get('/manage/agendas/%s/events/%s/' % (agenda.pk, event.pk)) > assert '/manage/agendas/%s/events/%s/check' % (agenda.pk, event.pk) not in resp E AssertionError: assert ('/manage/agendas/%s/events/%s/check' % (505, 1577)) not in <200 OK text/html body=b'<!DOCTYP...l>\n'/5091> tests/manager/test_event.py:1577: AssertionError
Historique
Mis à jour par Robot Gitea il y a 6 mois
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Lauréline Guérin
Lauréline Guérin (lguerin) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/chrono/pulls/173
- Titre : misc: fix failing tests at midnight (#82926)
- Modifications : https://git.entrouvert.org/entrouvert/chrono/pulls/173/files
Mis à jour par Robot Gitea il y a 6 mois
- Statut changé de Solution proposée à Solution validée
Valentin Deniaud (vdeniaud) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 6 mois
- Statut changé de Solution validée à Résolu (à déployer)
Lauréline Guérin (lguerin) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/chrono/pulls/173
- Titre : misc: fix failing tests at midnight (#82926)
- Modifications : https://git.entrouvert.org/entrouvert/chrono/pulls/173/files
Mis à jour par Transition automatique il y a 6 mois
- Statut changé de Résolu (à déployer) à Solution déployée