Skip to content

RequestHandler: add __repr__#274

Merged
csernazs merged 1 commit into
masterfrom
requesthandler-repr
Feb 13, 2024
Merged

RequestHandler: add __repr__#274
csernazs merged 1 commit into
masterfrom
requesthandler-repr

Conversation

@csernazs
Copy link
Copy Markdown
Owner

@csernazs csernazs commented Feb 5, 2024

Add __repr__ to support pytest's diff view.

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

Fixes #273.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@            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              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Add `__repr__` to support pytest's diff view.

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

Fixes #273.
@csernazs csernazs force-pushed the requesthandler-repr branch from 1c3affe to cd42614 Compare February 13, 2024 06:56
@csernazs csernazs merged commit 623dfea into master Feb 13, 2024
@csernazs csernazs deleted the requesthandler-repr branch February 13, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add __repr__ to RequestHandler

1 participant