class documentation
class FileEntryMixin: (source)
Known subclasses: twisted.python.test.test_zipstream.DeflatedZipFileEntryTests
, twisted.python.test.test_zipstream.ZipFileEntryTests
File entry classes should behave as file-like objects
Method | get |
Return an appropriate zip file entry |
Method | test |
The closed attribute should reflect whether close() has been called. |
Method | test |
zip files should not be ttys, so isatty() should be false |
Method | test |
__iter__() and xreadlines() should return self. |
Method | test |
Zip file entries should implement the iterator protocol as files do. |
Method | test |
readline() should mirror file.readline and return up to a single delimiter. |
Method | test |
readlines() should return a list of all the lines. |
Method | test_read |
.read(num) should read num bytes from the file. |
Method | test_read |
.read() should read the entire file. |
Method | test |
.tell() should return the number of bytes that have been read so far. |