Line # | Kind | Name | Docs |
---|---|---|---|
60 | Class | MockInterfaceError | Undocumented |
63 | Class | Mock | The Mock class emulates any other class for testing purposes. |
171 | Function | _getNumPosSeenAndCheck | Positional arguments can appear as call parameters either named as |
192 | Class | MockCall | MockCall records the name and parameters of a call to an instance |
241 | Class | MockCallable | Intercepts the call and records it, then delegates to either the mock's |
290 | Function | _findFunc | Depth first search for a method with a given name. |
302 | Class | ReturnValuesBase | Undocumented |
311 | Class | ReturnValues | Undocumented |
316 | Class | ReturnIterator | Undocumented |
321 | Function | expectParams | check that the callObj is called with specified params and keywords |
329 | Function | expectAfter | check that the function is only called after all the functions in 'methods' |
342 | Function | expectException | raise an exception when the method is called |
350 | Function | expectParam | check that the callObj is called with parameter specified by paramIdx (a position index or keyword) |
360 | Function | EQ | Undocumented |
365 | Function | NE | Undocumented |
370 | Function | GT | Undocumented |
375 | Function | LT | Undocumented |
380 | Function | GE | Undocumented |
385 | Function | LE | Undocumented |
390 | Function | AND | Undocumented |
398 | Function | OR | Undocumented |
406 | Function | NOT | Undocumented |
411 | Function | MATCHES | Undocumented |
417 | Function | SEQ | Undocumented |
427 | Function | IS | Undocumented |
432 | Function | ISINSTANCE | Undocumented |
437 | Function | ISSUBCLASS | Undocumented |
442 | Function | CONTAINS | Undocumented |
447 | Function | IN | Undocumented |
452 | Function | HASATTR | Undocumented |
457 | Function | HASMETHOD | Undocumented |