Package translate :: Package storage :: Module test_zip :: Class TestZIPFile

[hide private]
[frames] | no frames]

# Class TestZIPFile

source code

    object --+
             |
            TestZIPFile

A test class to test the zip class that provides the directory interface.

Instance Methods | [hide private]

setup_method(self, method) sets up a test directory | source code

teardown_method(self, method) removes the attributes set up by setup_method | source code

cleardir(self, dirname) removes the given directory | source code

touchfiles(self, dir, filenames, content=`'````'`, last=False) | source code

mkdir(self, dir) Makes a directory inside self.testzip. | source code

test_created(self) test that the directory actually exists | source code

test_basic(self) Tests basic functionality. | source code

test_structure(self) Tests a small directory structure. | source code

test_getunits(self) Tests basic functionality. | source code

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]

Inherited from `object`: `__class__`