bug/issue2 #4

Closed
Yann wants to merge 0 commits from bug/issue2 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 5 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 coverage ==============================================
___________________________ coverage: platform linux, python 3.11.0-candidate-1 ___________________________

Name        Stmts   Miss  Cover
-------------------------------
server.py      48      8    83%
-------------------------------
TOTAL          48      8    83%
============================================ 5 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 5 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 coverage ============================================== ___________________________ coverage: platform linux, python 3.11.0-candidate-1 ___________________________ Name Stmts Miss Cover ------------------------------- server.py 48 8 83% ------------------------------- TOTAL 48 8 83% ============================================ 5 passed in 0.22s ============================================ ```
Yann added 9 commits 2025-07-07 08:44:16 +00:00
Yann closed this pull request 2025-07-07 08:57:38 +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#4