Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

refactor: convert handler tests to client/inlineCallbacks #905

Merged
merged 1 commit into from
May 25, 2017
Merged

Conversation

pjenvey
Copy link
Member

@pjenvey pjenvey commented May 24, 2017

and remove mypy's deprecated fast_parser option

issue #871

@codecov-io
Copy link

codecov-io commented May 24, 2017

Codecov Report

Merging #905 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #905   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          56     57    +1     
  Lines        9738   9669   -69     
=====================================
- Hits         9738   9669   -69
Impacted Files Coverage Δ
autopush/tests/test_health.py 100% <100%> (ø) ⬆️
autopush/logging.py 100% <100%> (ø) ⬆️
autopush/http.py 100% <100%> (ø) ⬆️
autopush/tests/test_web_webpush.py 100% <100%> (ø) ⬆️
autopush/tests/test_web_validation.py 100% <100%> (ø) ⬆️
autopush/tests/test_integration.py 100% <100%> (ø) ⬆️
autopush/tests/test_log_check.py 100% <100%> (ø) ⬆️
autopush/tests/support.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90a09c9...bf80e4f. Read the comment docs.

globalLogBeginner.beginLoggingTo(
[observer],
redirectStandardIO=redirectStandardIO,
**kwargs)
Copy link
Member

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.

Copy link
Member Author

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
Copy link
Member

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?

@jrconlin jrconlin merged commit 09e5eb2 into master May 25, 2017
@bbangert bbangert deleted the feat/871 branch May 25, 2017 21:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants