class documentation
class StructureAssertingMixin: (source)
Known subclasses: twisted.python.test.test_release.CommandsTestMixin
A mixin for TestCase
subclasses which provides some methods for asserting the structure and contents of directories and files on the filesystem.
Method | assert |
Assert that a directory is equivalent to one described by a dict. |
Method | create |
No summary |
Assert that a directory is equivalent to one described by a dict.
Parameters | |
root:FilePath | The filesystem directory to compare. |
dir | The dict that should describe the contents of the directory. It should be the same structure as the dirDict parameter to createStructure . |