Back to index

obnam  1.1
Classes | Namespaces | Functions | Variables
vfs.py File Reference

Go to the source code of this file.

Classes

class  obnamlib.vfs.VirtualFileSystem
class  obnamlib.vfs.VfsFactory
class  obnamlib.vfs.VfsTests

Namespaces

namespace  obnamlib.vfs

Functions

def obnamlib.vfs.test_abspath_returns_input_for_absolute_path
def obnamlib.vfs.test_abspath_returns_absolute_path_for_relative_input
def obnamlib.vfs.test_abspath_normalizes_path
def obnamlib.vfs.test_abspath_returns_plain_string
def obnamlib.vfs.test_reinit_works
def obnamlib.vfs.test_reinit_to_nonexistent_filename_raises_OSError
def obnamlib.vfs.test_reinit_creates_target_if_requested
def obnamlib.vfs.test_getcwd_returns_dirname
def obnamlib.vfs.test_getcwd_returns_plain_string
def obnamlib.vfs.test_chdir_changes_only_fs_cwd_not_process_cwd
def obnamlib.vfs.test_chdir_to_nonexistent_raises_exception
def obnamlib.vfs.test_chdir_to_relative_works
def obnamlib.vfs.test_chdir_to_dotdot_works
def obnamlib.vfs.test_creates_lock_file
def obnamlib.vfs.test_second_lock_fails
def obnamlib.vfs.test_unlock_removes_lock
def obnamlib.vfs.test_exists_returns_false_for_nonexistent_file
def obnamlib.vfs.test_exists_returns_true_for_existing_file
def obnamlib.vfs.test_isdir_returns_false_for_nonexistent_file
def obnamlib.vfs.test_isdir_returns_false_for_nondir
def obnamlib.vfs.test_isdir_returns_true_for_existing_dir
def obnamlib.vfs.test_listdir_returns_plain_strings_only
def obnamlib.vfs.test_listdir_raises_oserror_if_directory_does_not_exist
def obnamlib.vfs.test_listdir2_returns_name_stat_pairs
def obnamlib.vfs.test_listdir2_returns_plain_strings_only
def obnamlib.vfs.test_listdir2_raises_oserror_if_directory_does_not_exist
def obnamlib.vfs.test_mknod_creates_fifo
def obnamlib.vfs.test_mkdir_raises_oserror_if_directory_exists
def obnamlib.vfs.test_mkdir_raises_oserror_if_parent_does_not_exist
def obnamlib.vfs.test_makedirs_raises_oserror_when_directory_exists
def obnamlib.vfs.test_makedirs_creates_directory_when_parent_exists
def obnamlib.vfs.test_makedirs_creates_directory_when_parent_does_not_exist
def obnamlib.vfs.test_rmdir_removes_directory
def obnamlib.vfs.test_rmdir_raises_oserror_if_directory_does_not_exist
def obnamlib.vfs.test_rmdir_raises_oserror_if_directory_is_not_empty
def obnamlib.vfs.test_rmtree_removes_directory_tree
def obnamlib.vfs.test_rmtree_is_silent_when_target_does_not_exist
def obnamlib.vfs.test_remove_removes_file
def obnamlib.vfs.test_remove_raises_oserror_if_file_does_not_exist
def obnamlib.vfs.test_rename_renames_file
def obnamlib.vfs.test_rename_raises_oserror_if_file_does_not_exist
def obnamlib.vfs.test_rename_works_if_target_exists
def obnamlib.vfs.test_lstat_returns_result_with_all_required_fields
def obnamlib.vfs.test_lstat_returns_right_filetype_for_directory
def obnamlib.vfs.test_lstat_raises_oserror_for_nonexistent_entry
def obnamlib.vfs.test_chmod_sets_permissions_correctly
def obnamlib.vfs.test_chmod_raises_oserror_for_nonexistent_entry
def obnamlib.vfs.test_lutimes_sets_times_correctly
def obnamlib.vfs.test_lutimes_raises_oserror_for_nonexistent_entry
def obnamlib.vfs.test_link_creates_hard_link
def obnamlib.vfs.test_symlink_creates_soft_link
def obnamlib.vfs.test_readlink_returns_plain_string
def obnamlib.vfs.test_symlink_raises_oserror_if_name_exists
def obnamlib.vfs.test_opens_existing_file_ok_for_reading
def obnamlib.vfs.test_opens_existing_file_ok_for_writing
def obnamlib.vfs.test_open_fails_for_nonexistent_file
def obnamlib.vfs.test_cat_reads_existing_file_ok
def obnamlib.vfs.test_cat_fails_for_nonexistent_file
def obnamlib.vfs.test_has_read_nothing_initially
def obnamlib.vfs.test_cat_updates_bytes_read
def obnamlib.vfs.test_write_fails_if_file_exists_already
def obnamlib.vfs.test_write_creates_missing_directories
def obnamlib.vfs.test_write_leaves_existing_file_intact
def obnamlib.vfs.test_overwrite_creates_new_file_ok
def obnamlib.vfs.test_overwrite_replaces_existing_file
def obnamlib.vfs.test_has_written_nothing_initially
def obnamlib.vfs.test_write_updates_written
def obnamlib.vfs.test_overwrite_updates_written
def obnamlib.vfs.set_up_scan_tree
def obnamlib.vfs.test_scan_tree_returns_nothing_if_listdir_fails
def obnamlib.vfs.test_scan_tree_returns_the_right_stuff
def obnamlib.vfs.test_scan_tree_filters_away_unwanted

Variables

string obnamlib.vfs.non_ascii_name = u'm\u00e4kel\u00e4'
 obnamlib.vfs.dirs
 obnamlib.vfs.pathnames

Class Documentation

class obnamlib::vfs::VfsTests

Definition at line 282 of file vfs.py.