Part of lp.codehosting.vfs.tests.test_branchfs View In Hierarchy
Known subclasses: lp.codehosting.vfs.tests.test_branchfs.TestLaunchpadTransportAsync, lp.codehosting.vfs.tests.test_branchfs.TestLaunchpadTransportSync
To support that, subclasses must implement getTransport and
_ensureDeferred. See these methods for more information.
| Method | setUp | Undocumented |
| Method | assertFiresFailure | Assert that calling function will cause exception to be fired. |
| Method | assertFiresFailureWithSubstring | Assert that calling function(*args, **kw) fails in a certain way. |
| Method | getServer | Undocumented |
| Method | getTransport | Return the transport to be tested. |
| Method | test_get_transport | Undocumented |
| Method | test_cant_write_to_control_conf | Undocumented |
| Method | test_get_mapped_file | Undocumented |
| Method | test_get_mapped_file_escaped_url | Undocumented |
| Method | test_readv_mapped_file | Undocumented |
| Method | test_put_mapped_file | Undocumented |
| Method | test_cloning_updates_base | Undocumented |
| Method | test_abspath_without_schema | Undocumented |
| Method | test_cloning_preserves_path_mapping | Undocumented |
| Method | test_abspath | Undocumented |
| Method | test_incomplete_path_not_found | Undocumented |
| Method | test_complete_non_existent_path_not_found | Undocumented |
| Method | test_rename | Undocumented |
| Method | test_iter_files_recursive | Undocumented |
| Method | test_make_two_directories | Undocumented |
| Method | test_createBranch_not_found_error | Undocumented |
| Method | test_createBranch_permission_denied_error | Undocumented |
| Method | test_createBranch_invalid_package_name | Undocumented |
| Method | test_rmdir | Undocumented |
| Method | _ensureDeferred | Call function and return an appropriate Deferred. |
| Method | _makeOnBackingTransport | Make directories for 'branch' on the backing transport. |
function will cause exception to be fired.
In the synchronous tests, this means that function raises
exception. In the asynchronous tests, function returns a Deferred
that fires exception as a Failure.
| Returns | A Deferred. You must return this from your test. | |
Assert that calling function(*args, **kw) fails in a certain way. This method is like assertFiresFailure() but in addition checks that 'msg' is a substring of the str() of the raised exception.
function and return an appropriate Deferred.