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

Method test_commit_dir

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

Source from the content-addressed store, hash-verified

221 ErrorReturnCode, gl.commit, m='msg', include='non-existent')
222
223 def test_commit_dir(self):
224 fp = 'dir/f'
225 utils.write_file(fp)
226 gl.commit(fp, m='msg')
227 self.__assert_commit('dir/f')
228
229 def __assert_commit(self, *expected_committed):
230 h = utils.stdout(gl.history(v=True))

Callers

nothing calls this directly

Calls 1

__assert_commitMethod · 0.95

Tested by

no test coverage detected