Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto register patterns #108

Merged
merged 1 commit into from Nov 13, 2020
Merged

Auto register patterns #108

merged 1 commit into from Nov 13, 2020

Conversation

lundberg
Copy link
Owner

Automatically register patterns when subclassing.

@codecov-io
Copy link

codecov-io commented Nov 13, 2020

Codecov Report

Merging #108 (1587874) into master (abb369d) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #108   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines         2022      2035   +13     
  Branches       145       146    +1     
=========================================
+ Hits          2022      2035   +13     
Impacted Files Coverage Δ
respx/patterns.py 100.00% <100.00%> (ø)
tests/test_patterns.py 100.00% <100.00%> (ø)

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 abb369d...1587874. Read the comment docs.

@lundberg lundberg merged commit 117537f into master Nov 13, 2020
@lundberg lundberg deleted the auto-register-patterns branch November 13, 2020 15:45
lundberg added a commit that referenced this pull request Nov 13, 2020
Removed
- Dropped all deprecated APIs and models, see `0.15.0` Changed section. (PR #105)

Added
- Added support for content, data and json patterns. (PR #106)
- Automatic pattern registration when subclassing Pattern. (PR #108)

Fixed
- Multiple snapshots to support nested mock routers. (PR #107)
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.

None yet

2 participants