1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Assertion functions for the filesystem
======================================
These functions make it easy to check the state of files and directories.
When the assertion is not true, they provide informative error messages.
.. module:: testpath
.. autofunction:: assert_path_exists
.. autofunction:: assert_not_path_exists
.. autofunction:: assert_isfile
.. autofunction:: assert_not_isfile
.. autofunction:: assert_isdir
.. autofunction:: assert_not_isdir
.. autofunction:: assert_islink
.. autofunction:: assert_not_islink
|