Test the mark_good method increases usage count and potentially decreases error score.
(session: Session)
| 50 | |
| 51 | |
| 52 | def test_mark_good(session: Session) -> None: |
| 53 | """Test the mark_good method increases usage count and potentially decreases error score.""" |
| 54 | initial_usage_count = session.usage_count |
| 55 | session.mark_good() |
| 56 | assert session.usage_count == initial_usage_count + 1 |
| 57 | assert session.error_score == 0 |
| 58 | |
| 59 | |
| 60 | def test_mark_bad(session: Session) -> None: |