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

Method __assert_checkout_error

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

Source from the content-addressed store, hash-verified

405 os.path.relpath(TRACKED_DIR_DIR_FP_WITH_SPACE, DIR_DIR))
406
407 def __assert_checkout_error(self, *fps, **kwargs):
408 root = self.repo.root
409 cp = kwargs.get('cp', 'HEAD')
410 for fp in fps:
411 self.assertRaises(
412 KeyError, self.curr_b.checkout_file, os.path.relpath(fp, root),
413 self.repo.revparse_single(cp))
414
415 @assert_no_side_effects(
416 UNTRACKED_FP, UNTRACKED_FP_WITH_SPACE,

Callers 2

Calls 1

revparse_singleMethod · 0.80

Tested by

no test coverage detected