Part of lp.archivepublisher.tests.test_signing View In Hierarchy
| Method | __init__ | Set up a fake function or method. |
| Method | __call__ | Catch an invocation to the method. |
| Method | caller_count | Undocumented |
| Method | caller_list | Undocumented |
Inherited from FakeMethod:
| Method | call_count | Undocumented |
| Method | extract_args | Return just the calls' positional-arguments tuples. |
| Method | extract_kwargs | Return just the calls' keyword-arguments dicts. |
| Parameters | result | Value to return. |
| failure | Exception to raise. |
Increment call_count, and adds the arguments to calls.
Accepts any and all parameters. Raises the failure passed to the constructor, if any; otherwise, returns the result value passed to the constructor.