class documentation

class PackBasedObjectStoreTests(ObjectStoreTests):

View In Hierarchy

Tests for pack-based object stores.

Method tearDown Clean up by closing all packs.
Method test_delete_loose_object Test deleting loose objects.
Method test_empty_packs Test that new store has no packs.
Method test_pack_loose_objects Test packing loose objects into packs.
Method test_repack Test repacking multiple packs into one.
Method test_repack_existing Test repacking with existing objects.
Method test_repack_with_exclude Test repacking while excluding specific objects.
Class Variable store Undocumented

Inherited from ObjectStoreTests:

Method make_tag Helper to create and add a tag object.
Method test_add_commit Test adding commit objects.
Method test_add_object Test adding a single object to store.
Method test_add_objects Test adding multiple objects to store.
Method test_add_objects_empty Test adding empty list of objects.
Method test_close Test closing the object store.
Method test_contains_nonexistant Test checking for non-existent object.
Method test_determine_wants_all Test determine_wants_all with valid ref.
Method test_determine_wants_all_depth Test determine_wants_all with depth parameter.
Method test_get_depth Test getting object depth.
Method test_get_nonexistant Test getting non-existent object raises KeyError.
Method test_get_raw Test getting raw object data.
Method test_iter Test iterating over empty store.
Method test_iter_prefix Test iterating objects by prefix.
Method test_iter_prefix_not_found Test iterating with prefix that doesn't match any objects.
Method test_iter_tree_contents Test iterating over tree contents.
Method test_iter_tree_contents_include_trees Test iterating tree contents including tree objects.
Method test_iterobjects_subset_all_present Test iterating over a subset of objects that all exist.
Method test_iterobjects_subset_missing_allowed Test iterating with missing objects when allowed.
Method test_iterobjects_subset_missing_not_allowed Test iterating with missing objects when not allowed.
Method test_peel_sha Test peeling SHA to get underlying object.
Method test_store_resilience Test if updating an existing stored object doesn't erase the object from the store.
Method test_tree_changes Test detecting changes between trees.
Class Variable assertEqual Undocumented
Class Variable assertFalse Undocumented
Class Variable assertIn Undocumented
Class Variable assertNotEqual Undocumented
Class Variable assertNotIn Undocumented
Class Variable assertRaises Undocumented
Class Variable assertTrue Undocumented
def tearDown(self):

Clean up by closing all packs.

def test_delete_loose_object(self):

Test deleting loose objects.

def test_empty_packs(self):

Test that new store has no packs.

def test_pack_loose_objects(self):

Test packing loose objects into packs.

def test_repack(self):

Test repacking multiple packs into one.

def test_repack_existing(self):

Test repacking with existing objects.

def test_repack_with_exclude(self):

Test repacking while excluding specific objects.