class documentation
class WorkingTreeTestCase(ObjectStoreTestCase):
Known subclasses: dulwich.tests.compat.test_repository.InitNewWorkingDirectoryTestCase
Test for compatibility with git-worktree.
Method | create |
Create a new worktree using git-worktree. |
Method | set |
Undocumented |
Method | test |
Undocumented |
Method | test |
Test that git worktree config parsing matches the git CLI's behavior. |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Class Variable | min |
Undocumented |
Method | _parse |
Undocumented |
Instance Variable | _mainworktree |
Undocumented |
Instance Variable | _number |
Undocumented |
Instance Variable | _repo |
Undocumented |
Instance Variable | _worktree |
Undocumented |
Instance Variable | _worktree |
Undocumented |
Inherited from ObjectStoreTestCase
:
Method | assert |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
Undocumented |
Method | _parse |
Undocumented |
Method | _parse |
Undocumented |
Method | _run |
Undocumented |
Inherited from CompatTestCase
(via ObjectStoreTestCase
):
Method | assert |
Undocumented |
Method | assert |
Undocumented |
Method | assert |
Undocumented |
Method | import |
Import a repo from a fast-export file in a temporary directory. |
Inherited from TestCase
(via ObjectStoreTestCase
, CompatTestCase
):
Method | override |
Undocumented |
Create a new worktree using git-worktree.
Returns: The path to the new working tree.
Parameters | |
repo | The directory of the main working tree. |
branch | The branch or commit to checkout in the new worktree. |