Test the mark_bad method affects the session's error score and usage.
(session: Session)
| 58 | |
| 59 | |
| 60 | def test_mark_bad(session: Session) -> None: |
| 61 | """Test the mark_bad method affects the session's error score and usage.""" |
| 62 | initial_error_score = session.error_score |
| 63 | session.mark_bad() |
| 64 | assert session.error_score == initial_error_score + 1 |
| 65 | |
| 66 | |
| 67 | def test_multiple_marks(session: Session) -> None: |