Part of lp.testing.fakelibrarian View In Hierarchy
ILibraryFileAlias implementation that fakes library access.| Method | checkCommitted | Raise an error if this file has not been committed yet. |
| Method | open | See ILibraryFileAlias. |
| Method | read | See ILibraryFileAlias. |
Inherited from LibraryFileAlias:
| Method | client | Return the librarian client to use to retrieve that file. |
| Method | http_url | See ILibraryFileAlias.http_url |
| Method | https_url | See ILibraryFileAlias.https_url |
| Method | private_url | See ILibraryFileAlias.https_url |
| Method | getURL | See ILibraryFileAlias.getURL |
| Method | close | Close this file. |
| Method | updateLastAccessed | Update last_accessed if it has not been updated recently. |
| Method | last_downloaded | See ILibraryFileAlias. |
| Method | updateDownloadCount | See ILibraryFileAlias. |
| Method | deleted | Is this file deleted. |
| Method | __storm_invalidated__ | Make sure that the file is closed across transaction boundary. |
Inherited from SQLBase (via LibraryFileAlias):
| Method | __init__ | Extended version of the SQLObjectBase constructor. |
| Method | __repr__ | Undocumented |
| Method | destroySelf | Undocumented |
| Method | __eq__ | Equality operator. |
| Method | __ne__ | Inverse of __eq__. |
| Method | __storm_flushed__ | Invalidate the web service cache. |
| Class Method | _get_store | Undocumented |