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

Method test_create_existent_name

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

Source from the content-addressed store, hash-verified

782 assert_invalid_name(' ')
783
784 def test_create_existent_name(self):
785 self.repo.create_branch('branch1', self.repo.current_branch.head)
786 self._assert_value_error('branch1', 'exists')
787
788 def test_create(self):
789 self.repo.create_branch('branch1', self.repo.current_branch.head)

Callers

nothing calls this directly

Calls 2

_assert_value_errorMethod · 0.95
create_branchMethod · 0.45

Tested by

no test coverage detected