MCPcopy
hub / github.com/gitless-vcs/gitless / test_delete

Method test_delete

gitless/tests/test_core.py:809–813  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

807class TestBranchDelete(TestBranch):
808
809 def test_delete(self):
810 self.repo.lookup_branch(BRANCH).delete()
811 self.assertRaises(
812 core.BranchIsCurrentError,
813 self.repo.lookup_branch('master').delete)
814
815
816class TestBranchSwitch(TestBranch):

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45
lookup_branchMethod · 0.45

Tested by

no test coverage detected