Skip to content

Enhance routes #120

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

Merged
merged 3 commits into from
Nov 27, 2020
Merged

Enhance routes #120

merged 3 commits into from
Nov 27, 2020

Conversation

lundberg
Copy link
Owner

  • Extracts RouteList from Router
  • Protects route.pattern to be modified
  • Snapshots route pattern and name

@lundberg lundberg merged commit ae0388f into master Nov 27, 2020
@lundberg lundberg deleted the route-list branch November 30, 2020 07:09
lundberg added a commit that referenced this pull request Dec 14, 2020
Fixed
- Fixed decorator `respx_mock` kwarg, mistreated as a `pytest` fixture. (PR #117)
- Fixed `JSON` pattern sometimes causing a `JSONDecodeError`. (PR #124)

Added
- Snapshot and rollback of routes' pattern and name. (PR #120)
- Internally extracted a `RouteList` from `Router`. (PR #120)
- Auto registration of `Mocker` implementations and their `using` name. (PR #121)
- Added `HTTPXMocker`, optionally patching `HTTPX`. (PR #122)

Changed
- Protected a routes' pattern to be modified. (PR #120)
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

1 participant