-
Notifications
You must be signed in to change notification settings - Fork 30
refactor: convert handler tests to client/inlineCallbacks #905
Conversation
Codecov Report
@@ Coverage Diff @@
## master #905 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 56 57 +1
Lines 9738 9669 -69
=====================================
- Hits 9738 9669 -69
Continue to review full report at Codecov.
|
autopush/logging.py
Outdated
globalLogBeginner.beginLoggingTo( | ||
[observer], | ||
redirectStandardIO=redirectStandardIO, | ||
**kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to drop the ) when we immediately drop-line after starting, or keep it this way? I'm fine with either way, just want to know which one we should use everywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we've standardized dropping it lately, I forgot it here
and remove mypy's deprecated fast_parser option issue #871
@@ -92,7 +92,9 @@ def for_handler(cls, handler_cls, *args, **kwargs): | |||
thrown. | |||
|
|||
""" | |||
for pattern, handler in cls.ap_handlers: | |||
if 'handlers' in kwargs: # pragma: nocover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a stopper, but we can't test this?
and remove mypy's deprecated fast_parser option
issue #871