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

Method test_commit_only_untrack_relative

gitless/tests/test_e2e.py:198–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

196 self.__assert_commit(self.UNTRACKED_FP)
197
198 def test_commit_only_untrack_relative(self):
199 os.chdir(self.DIR)
200 self.assertRaises(ErrorReturnCode, gl.commit, self.UNTRACKED_FP, m='msg')
201 gl.commit('../' + self.UNTRACKED_FP, m='msg')
202 self.__assert_commit(self.UNTRACKED_FP)
203
204 def test_commit_include(self):
205 gl.commit("-m='msg'", include=self.UNTRACKED_FP)

Callers

nothing calls this directly

Calls 1

__assert_commitMethod · 0.95

Tested by

no test coverage detected