bug/issue4 #5

Closed
Yann wants to merge 0 commits from bug/issue4 into QA
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 7 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_than_12_once PASSED
tests/test_purchase.py::TestPlaces::test_should_refuse_more_12_total PASSED

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

Name        Stmts   Miss  Cover
-------------------------------
server.py      57      8    86%
-------------------------------
TOTAL          57      8    86%
============================================ 7 passed in 0.22s ============================================

``` =========================================== 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 7 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_than_12_once PASSED tests/test_purchase.py::TestPlaces::test_should_refuse_more_12_total PASSED ============================================= tests coverage ============================================== ___________________________ coverage: platform linux, python 3.11.0-candidate-1 ___________________________ Name Stmts Miss Cover ------------------------------- server.py 57 8 86% ------------------------------- TOTAL 57 8 86% ============================================ 7 passed in 0.22s ============================================ ```
Yann added 10 commits 2025-07-07 09:13:56 +00:00
Yann closed this pull request 2025-07-07 11:53:08 +00:00

Pull request closed

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#5