File tree 2 files changed +0
-17
lines changed
2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 201
201
"grpcio-testing" ,
202
202
"ipython" ,
203
203
"kfp >= 2.6.0, < 3.0.0" ,
204
- "pyfakefs" ,
205
204
"pytest-asyncio" ,
206
205
"pytest-xdist" ,
207
206
"scikit-learn" ,
Original file line number Diff line number Diff line change 65
65
_TEST_OPTIMIZED_FV2 ,
66
66
_TEST_PSC_OPTIMIZED_FOS ,
67
67
)
68
- from pyfakefs import fake_filesystem_unittest
69
68
import pytest
70
- import tensorflow .saved_model as tf_saved_model
71
69
72
70
_TEST_PROJECT = "test-project"
73
71
_TEST_PROJECT_NUMBER = "12345678"
@@ -141,14 +139,6 @@ def google_auth_mock():
141
139
yield auth_mock
142
140
143
141
144
- @pytest .fixture
145
- def mock_filesystem ():
146
- with fake_filesystem_unittest .Patcher () as patcher :
147
- patcher .setUp ()
148
- yield patcher .fs
149
- patcher .tearDown ()
150
-
151
-
152
142
@pytest .fixture
153
143
def mock_storage_blob (mock_filesystem ):
154
144
"""Mocks the storage Blob API.
@@ -291,12 +281,6 @@ def mock_uuid():
291
281
yield uuid_mock
292
282
293
283
294
- @pytest .fixture
295
- def mock_tf_saved_model_load ():
296
- with mock .patch .object (tf_saved_model , "load" ) as load_mock :
297
- yield load_mock
298
-
299
-
300
284
@pytest .fixture
301
285
def base_logger_mock ():
302
286
with patch .object (
You can’t perform that action at this time.
0 commit comments