feature/issue7 #7

Merged
Yann merged 4 commits from feature/issue7 into QA 2025-07-09 15:54:37 +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 12 items                                                                                                               

tests/test_board.py::TestBoardDisplayPoints::test_should_get_200 PASSED
tests/test_board.py::TestBoardDisplayPoints::test_should_display_right_size_list PASSED
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      65      4    94%
-------------------------------
TOTAL          65      4    94%
======================================================= 12 passed in 0.28s =======================================================

``` ====================================================== 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 12 items tests/test_board.py::TestBoardDisplayPoints::test_should_get_200 PASSED tests/test_board.py::TestBoardDisplayPoints::test_should_display_right_size_list PASSED 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 65 4 94% ------------------------------- TOTAL 65 4 94% ======================================================= 12 passed in 0.28s ======================================================= ```
Yann added 4 commits 2025-07-09 15:54:31 +00:00
Yann merged commit 687ed01f31 into QA 2025-07-09 15:54:37 +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#7