Mock utility function for testing.
| 2 | |
| 3 | |
| 4 | class MockFunction: |
| 5 | """ |
| 6 | Mock utility function for testing. |
| 7 | """ |
| 8 | def __init__(self, return_val): |
| 9 | self.return_val = return_val |
| 10 | |
| 11 | def __call__(self, *args): |
| 12 | return self.return_val |
| 13 | |
| 14 | |
| 15 | class MockEstimator: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…