Part of bzrlib.tests.file_utils View In Hierarchy
| Method | __init__ | Initialize the mock file object with the provided data. |
| Method | read | Reads size characters from the input (or the rest of the string if |
| Method | get_max_read_size | Returns the maximum read size or None if no reads have occured. |
| Method | get_read_count | Returns the number of calls to read. |
| Method | reset_read_count | Clears the read count. |