Logo Search packages:      
Sourcecode: obnam version File versions  Download package

Public Member Functions | Public Attributes

obnamlib::repo_tests::RepositoryClientTests Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def test_adding_generation_without_committing_does_not_add_it
def test_commit_client_releases_lock
def test_commit_client_when_locked_by_other_fails
def test_commit_client_without_lock_fails
def test_commit_does_not_mark_as_checkpoint_by_default
def test_commit_marks_as_checkpoint_when_requested
def test_commited_generation_has_start_and_end_times
def test_create_adds_dir
def test_create_adds_dir_after_file_in_it
def test_create_adds_file
def test_create_adds_lots_of_files
def test_create_adds_two_files
def test_create_fails_unless_generation_is_started
def test_get_metadata_raises_exception_if_file_does_not_exist
def test_get_metadata_works
def test_gets_metadata_for_dir
def test_has_not_got_client_lock
def test_listing_generations_fails_if_client_is_not_open
def test_lists_no_generations_when_locked
def test_lists_no_generations_when_readonly
def test_locking_client_twice_fails
def test_locking_nonexistent_client_fails
def test_locks_client
def test_new_generation_has_root_dir_only
def test_new_generation_has_start_time_only
def test_not_making_new_generation
def test_opens_client_even_when_locked_by_other
def test_opens_client_fails_if_client_does_not_exist
def test_remove_removes_directory_tree
def test_remove_removes_file
def test_removing_generation_works
def test_removing_only_second_generation_works
def test_removing_started_generation_fails
def test_removing_without_committing_does_not_remove
def test_second_generation_has_different_id_from_first
def test_starting_new_generation_without_lock_fails
def test_starting_new_generation_works
def test_starting_second_concurrent_new_generation_fails
def test_unlock_client_releases_lock
def test_unlock_client_when_locked_by_other_fails
def test_unlock_client_without_lock_fails

Public Attributes

 dir_meta
 fs
 other
 otherfs
 repo
 tempdir

Detailed Description

Definition at line 219 of file repo_tests.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index