Skip to content

Commit

Permalink
use disable_get_request from conftest
Browse files Browse the repository at this point in the history
Signed-off-by: Will Murphy <[email protected]>
  • Loading branch information
willmurphyscode committed Nov 1, 2023
1 parent 974060e commit 1cf7489
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/unit/providers/amazon/test_amazon.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ def test_get_pkg_name_version(self):
assert a == b


@pytest.fixture()
def disable_get_requests(monkeypatch):
def disabled(*args, **kwargs):
raise RuntimeError("requests disabled but HTTP GET attempted")

monkeypatch.setattr(http, "get", disabled)


def test_provider_schema(helpers, disable_get_requests, monkeypatch):
workspace = helpers.provider_workspace_helper(name=Provider.name())

Expand Down

0 comments on commit 1cf7489

Please sign in to comment.