From d6e1834324625d31ede5699851f85b9283ebd166 Mon Sep 17 00:00:00 2001 From: Sam Stoelinga Date: Wed, 13 Dec 2023 22:36:37 -0800 Subject: [PATCH] add conftest.py --- tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/conftest.py diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..31d95a8 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,6 @@ +import pytest +from unittest.mock import Mock + +@pytest.fixture(autouse=True) +def mock_google_client(mocker): + mocker.patch('google.cloud.storage.Client', new=Mock()) \ No newline at end of file