(**async_support)
| 39 | @pytest.fixture |
| 40 | def mock_fs_factory(): |
| 41 | def builder(**async_support): |
| 42 | provider = FooProvider.with_async_support(**async_support) |
| 43 | fs = MagicMock() |
| 44 | fs._get_provider.return_value = provider |
| 45 | empty_response = OnlineResponse(GetOnlineFeaturesResponse(results=[])) |
| 46 | fs.get_online_features = MagicMock(return_value=empty_response) |
| 47 | fs.push = MagicMock() |
| 48 | fs.get_online_features_async = AsyncMock(return_value=empty_response) |
| 49 | fs.push_async = AsyncMock() |
| 50 | return fs |
| 51 | |
| 52 | return builder |
| 53 |
nothing calls this directly
no test coverage detected