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

Method setUp

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

Source from the content-addressed store, hash-verified

351 DIR = 'dir'
352
353 def setUp(self):
354 super(TestDiffFile, self).setUp()
355 utils.write_file(self.TRACKED_FP)
356 utils.write_file(self.DIR_TRACKED_FP)
357 gl.commit(self.TRACKED_FP, self.DIR_TRACKED_FP, m='commit')
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()):

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected