MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / test_empty_diff

Method test_empty_diff

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

Source from the content-addressed store, hash-verified

358 utils.write_file(self.UNTRACKED_FP)
359
360 def test_empty_diff(self):
361 if 'No files to diff' not in utils.stdout(gl.diff()):
362 self.fail()
363
364 def test_diff_nonexistent_fp(self):
365 err = utils.stderr(gl.diff('file', _ok_code=[1]))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected