We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4007578 commit 4201cd3Copy full SHA for 4201cd3
src/mock_vws/_requests_mock_server/decorators.py
@@ -152,12 +152,8 @@ def __enter__(self) -> Self:
152
)
153
154
if self._real_http:
155
- combined_pattern = "|".join(
156
- f"(?:{pattern.pattern})" for pattern in compiled_url_patterns
157
- )
158
- negated_pattern = f"(?!{combined_pattern})."
159
- compiled_negated_pattern = re.compile(pattern=negated_pattern)
160
- mock.add_passthru(prefix=compiled_negated_pattern)
+ all_requests_pattern = re.compile(pattern=".*")
+ mock.add_passthru(prefix=all_requests_pattern)
161
162
self._mock = mock
163
self._mock.start()
0 commit comments