(mock_client, mock_endpoints)
| 18 | |
| 19 | @pytest.fixture |
| 20 | def system(mock_client, mock_endpoints): |
| 21 | with ( |
| 22 | patch( |
| 23 | "ceph_node_proxy.baseredfishsystem.RedFishClient", return_value=mock_client |
| 24 | ), |
| 25 | patch( |
| 26 | "ceph_node_proxy.baseredfishsystem.EndpointMgr", return_value=mock_endpoints |
| 27 | ), |
| 28 | ): |
| 29 | return BaseRedfishSystem( |
| 30 | host="testhost", |
| 31 | port="443", |
| 32 | username="user", |
| 33 | password="secret", |
| 34 | config={}, |
| 35 | ) |
| 36 | |
| 37 | |
| 38 | class TestBaseRedfishSystemInit: |
no test coverage detected