FoundFile
Represents a single file found as the result of a command.
The FoundFile class is accessible via the
paste.fixture
module.
Has attributes:
- path:
- The path of the file, relative to the base_path
- full:
- The full path
- stat:
- The results of os.stat. Also mtime and size
contain the .st_mtime and st_size of the stat.
- bytes:
- The contents of the file.
You may use the in operator with these objects (tested against
the contents of the file), and the .mustcontain() method.
Attributes
<property object at 0x2100120>
Methods
See
the source
for more information.