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

Method test_checkout_not_head

gitless/tests/test_core.py:390–394  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

388 self.assertEqual(TRACKED_FP_CONTENTS_1, utils_lib.read_file(fp))
389
390 def test_checkout_not_head(self):
391 self.__assert_checkout_not_head(
392 TRACKED_FP, TRACKED_FP_WITH_SPACE,
393 TRACKED_DIR_FP, TRACKED_DIR_FP_WITH_SPACE,
394 TRACKED_DIR_DIR_FP, TRACKED_DIR_DIR_FP_WITH_SPACE)
395
396 def test_checkout_not_head_relative(self):
397 os.chdir(DIR)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected