MCPcopy Index your code
hub / github.com/gitless-vcs/gitless / test_create_invalid_name

Method test_create_invalid_name

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

Source from the content-addressed store, hash-verified

776 self.repo.current_branch.head)
777
778 def test_create_invalid_name(self):
779 assert_invalid_name = lambda n: self._assert_value_error(n, 'not valid')
780 assert_invalid_name('')
781 assert_invalid_name('\t')
782 assert_invalid_name(' ')
783
784 def test_create_existent_name(self):
785 self.repo.create_branch('branch1', self.repo.current_branch.head)

Callers

nothing calls this directly

Calls 1

_assert_value_errorMethod · 0.95

Tested by

no test coverage detected