MCPcopy
hub / github.com/gitless-vcs/gitless / __assert_track_tracked

Method __assert_track_tracked

gitless/tests/test_core.py:211–216  ·  view source on GitHub ↗
(self, *fps)

Source from the content-addressed store, hash-verified

209 os.path.relpath(UNTRACKED_DIR_DIR_FP_WITH_SPACE, DIR_DIR))
210
211 def __assert_track_tracked(self, *fps):
212 root = self.repo.root
213 for fp in fps:
214 fp = os.path.relpath(fp, root)
215 self.assertRaisesRegexp(
216 ValueError, 'already tracked', self.curr_b.track_file, fp)
217
218 @assert_no_side_effects(
219 TRACKED_FP, TRACKED_FP_WITH_SPACE,

Callers 2

test_track_tracked_fpMethod · 0.95

Calls 1

assertRaisesRegexpMethod · 0.80

Tested by

no test coverage detected