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

Method test_commit_only_relative

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

Source from the content-addressed store, hash-verified

186 self.__assert_commit(self.TRACKED_FP)
187
188 def test_commit_only_relative(self):
189 os.chdir(self.DIR)
190 self.assertRaises(ErrorReturnCode, gl.commit, self.TRACKED_FP, "-m='msg'")
191 gl.commit('../' + self.TRACKED_FP, m='msg')
192 self.__assert_commit(self.TRACKED_FP)
193
194 def test_commit_only_untrack(self):
195 gl.commit("-m='msg'", self.UNTRACKED_FP)

Callers

nothing calls this directly

Calls 1

__assert_commitMethod · 0.95

Tested by

no test coverage detected