class documentation
class PackBasedObjectStoreTests(ObjectStoreTests):
Tests for pack-based object stores.
| Method | tear |
Clean up by closing all packs. |
| Method | test |
Test deleting loose objects. |
| Method | test |
Test that new store has no packs. |
| Method | test |
Test packing loose objects into packs. |
| Method | test |
Test repacking multiple packs into one. |
| Method | test |
Test repacking with existing objects. |
| Method | test |
Test repacking while excluding specific objects. |
| Class Variable | store |
Undocumented |
Inherited from ObjectStoreTests:
| Method | make |
Helper to create and add a tag object. |
| Method | test |
Test adding commit objects. |
| Method | test |
Test adding a single object to store. |
| Method | test |
Test adding multiple objects to store. |
| Method | test |
Test adding empty list of objects. |
| Method | test |
Test closing the object store. |
| Method | test |
Test checking for non-existent object. |
| Method | test |
Test determine_wants_all with valid ref. |
| Method | test |
Test determine_wants_all with depth parameter. |
| Method | test |
Test getting object depth. |
| Method | test |
Test getting non-existent object raises KeyError. |
| Method | test |
Test getting raw object data. |
| Method | test |
Test iterating over empty store. |
| Method | test |
Test iterating objects by prefix. |
| Method | test |
Test iterating with prefix that doesn't match any objects. |
| Method | test |
Test iterating over tree contents. |
| Method | test |
Test iterating tree contents including tree objects. |
| Method | test |
Test iterating over a subset of objects that all exist. |
| Method | test |
Test iterating with missing objects when allowed. |
| Method | test |
Test iterating with missing objects when not allowed. |
| Method | test |
Test peeling SHA to get underlying object. |
| Method | test |
Test if updating an existing stored object doesn't erase the object from the store. |
| Method | test |
Test detecting changes between trees. |
| Class Variable | assert |
Undocumented |
| Class Variable | assert |
Undocumented |
| Class Variable | assert |
Undocumented |
| Class Variable | assert |
Undocumented |
| Class Variable | assert |
Undocumented |
| Class Variable | assert |
Undocumented |
| Class Variable | assert |
Undocumented |