bug/issue6 #6

Merged
Yann merged 6 commits from bug/issue6 into QA 2025-07-09 15:53:31 +00:00
Owner
=============================================== test session starts ===============================================
platform linux -- Python 3.11.0rc1, pytest-8.4.1, pluggy-1.6.0 -- /home/b/.local/share/virtualenvs/prod11-Eg1GQr7z/bin/python
cachedir: .pytest_cache
rootdir: /home/b/Documents/OCR/projet11/prod11
plugins: cov-6.2.1, flask-1.3.0
collected 10 items                                                                                                

tests/test_connection.py::test_should_status_code_ok PASSED
tests/test_connection.py::test_should_display_sorry_with_unknown_email PASSED
tests/test_connection.py::test_shoul_display_page_on_known_email PASSED
tests/test_purchase.py::TestPoints::test_should_nok_when_too_much_points PASSED
tests/test_purchase.py::TestPoints::test_should_ok_when_enough_points PASSED
tests/test_purchase.py::TestPlaces::test_should_refuse_more_12_once PASSED
tests/test_purchase.py::TestPlaces::test_should_refuse_more_12_total PASSED
tests/test_purchase.py::TestDate::test_should_not_display_book_link_for_past_competitions PASSED
tests/test_purchase.py::TestDate::test_forged_url_on_past_competition_should_raise_flash PASSED
tests/test_update.py::TestPointsUpdate::test_should_not_be_ok_the_second_time PASSED

================================================= tests coverage ==================================================
_______________________________ coverage: platform linux, python 3.11.0-candidate-1 _______________________________

Name        Stmts   Miss  Cover
-------------------------------
server.py      62      4    94%
-------------------------------
TOTAL          62      4    94%
=============================================== 10 passed in 0.27s ================================================
``` =============================================== test session starts =============================================== platform linux -- Python 3.11.0rc1, pytest-8.4.1, pluggy-1.6.0 -- /home/b/.local/share/virtualenvs/prod11-Eg1GQr7z/bin/python cachedir: .pytest_cache rootdir: /home/b/Documents/OCR/projet11/prod11 plugins: cov-6.2.1, flask-1.3.0 collected 10 items tests/test_connection.py::test_should_status_code_ok PASSED tests/test_connection.py::test_should_display_sorry_with_unknown_email PASSED tests/test_connection.py::test_shoul_display_page_on_known_email PASSED tests/test_purchase.py::TestPoints::test_should_nok_when_too_much_points PASSED tests/test_purchase.py::TestPoints::test_should_ok_when_enough_points PASSED tests/test_purchase.py::TestPlaces::test_should_refuse_more_12_once PASSED tests/test_purchase.py::TestPlaces::test_should_refuse_more_12_total PASSED tests/test_purchase.py::TestDate::test_should_not_display_book_link_for_past_competitions PASSED tests/test_purchase.py::TestDate::test_forged_url_on_past_competition_should_raise_flash PASSED tests/test_update.py::TestPointsUpdate::test_should_not_be_ok_the_second_time PASSED ================================================= tests coverage ================================================== _______________________________ coverage: platform linux, python 3.11.0-candidate-1 _______________________________ Name Stmts Miss Cover ------------------------------- server.py 62 4 94% ------------------------------- TOTAL 62 4 94% =============================================== 10 passed in 0.27s ================================================ ```
Yann added 6 commits 2025-07-09 09:47:08 +00:00
Yann merged commit 2ed9720e18 into QA 2025-07-09 15:53:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Yann/Projet11#6