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

Method __assert_untrack_error

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

Source from the content-addressed store, hash-verified

297 os.path.relpath(TRACKED_DIR_DIR_FP_WITH_SPACE, DIR_DIR))
298
299 def __assert_untrack_error(self, msg, *fps):
300 root = self.repo.root
301 for fp in fps:
302 fp = os.path.relpath(fp, root)
303 self.assertRaisesRegexp(ValueError, msg, self.curr_b.untrack_file, fp)
304
305 def __assert_untrack_untracked(self, *fps):
306 self.__assert_untrack_error('already untracked', *fps)

Callers 2

Calls 1

assertRaisesRegexpMethod · 0.80

Tested by

no test coverage detected