Exception raised by RequestMockBuilder on unexpected calls.
| 177 | |
| 178 | |
| 179 | class UnexpectedMethodError(Error): |
| 180 | """Exception raised by RequestMockBuilder on unexpected calls.""" |
| 181 | |
| 182 | @util.positional(1) |
| 183 | def __init__(self, methodId=None): |
| 184 | """Constructor for an UnexpectedMethodError.""" |
| 185 | super(UnexpectedMethodError, self).__init__( |
| 186 | "Received unexpected call %s" % methodId |
| 187 | ) |
| 188 | |
| 189 | |
| 190 | class UnexpectedBodyError(Error): |
no outgoing calls
no test coverage detected
searching dependent graphs…