Part of lp.services.librarianserver.testing.tests.test_fakelibrarian View In Hierarchy
Known subclasses: lp.services.librarianserver.testing.tests.test_fakelibrarian.TestFakeLibrarian, lp.services.librarianserver.testing.tests.test_fakelibrarian.TestRealLibrarian
This tests the subset of the Librarian interface that is also implemented by the FakeLibrarian. If your test needs anything more than this, then you want the real Librarian.
Method | test_baseline | Undocumented |
Method | test_insert_retrieve | Undocumented |
Method | test_alias_set | Undocumented |
Method | test_read | Undocumented |
Method | test_uncommitted_file | Undocumented |
Method | test_incorrect_upload_size | Undocumented |
Method | test_create_returns_alias | Undocumented |
Method | test_addFile_returns_alias_id | Undocumented |
Method | test_debugID_is_harmless | Undocumented |
Method | test_getURLForAlias | Undocumented |
Method | test_getURLForAliasObject | Undocumented |
Method | test_getURL | Undocumented |
Method | test_deleted_alias_has_no_url | Undocumented |
Method | _storeFile | Store a file in the FakeLibrarian . |
FakeLibrarian
.Returns | Tuple of filename, file contents, alias id. |