test_FILESYSTEM Module

class test_FILESYSTEM.TestFileSystem[source]

Bases: object

fmt_mode_str(st_mode)[source]

??? Does the formatting of props.

ignore_patterns()[source]

Reads a list of ignore patterns which won’t be tested.

Returns:List of ignore patterns

This test checks whether there are some files with unwanted props in FS. Looks for broken symlinks and world-writable files.

Raises :pytest.Failed
world_writable_whitelist()[source]

Reads a whitelist of files that can be world_writable.

Returns:Whitelist of world-writable files

Previous topic

test_ETC_PASSWD Module

Next topic

test_GRUB Module

This Page