csernazs / pytest-httpserver

Http server for pytest to test http clients
MIT License
214 stars 28 forks source link

RequestHandler: add __repr__ #274

Closed csernazs closed 7 months ago

csernazs commented 7 months ago

Add __repr__ to support pytest's diff view.

Such case is when oneshot_handlers are compared with an empty list [].

Fixes #273.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e32a568) 95.47% compared to head (cd42614) 95.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #274 +/- ## ========================================== + Coverage 95.47% 95.50% +0.03% ========================================== Files 4 4 Lines 597 601 +4 ========================================== + Hits 570 574 +4 Misses 27 27 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.