Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions tests/unit/spog/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ def _guard_unmocked_requests_get():
AssertionError rather than letting it silently hit the network."""
with mock.patch(
"dbt.adapters.databricks.spog.probe.requests.get",
side_effect=AssertionError(
"Unmocked requests.get in a SPOG unit test. Patch "
"'dbt.adapters.databricks.spog.probe.requests.get' inside your test."
),
return_value=mock.Mock(status_code=200, text="ok"),
):
yield