Class that will raise an error when unpickled
| 32 | |
| 33 | |
| 34 | class InvalidResponse: |
| 35 | """Class that will raise an error when unpickled""" |
| 36 | |
| 37 | def __init__(self): |
| 38 | self.foo = 'bar' |
| 39 | |
| 40 | def __setstate__(self, value): |
| 41 | raise ValueError('Invalid response!') |
| 42 | |
| 43 | |
| 44 | def test_contains__key(mock_session): |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…