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

Method test_status_modify

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

Source from the content-addressed store, hash-verified

458 KeyError, self.curr_b.status_file, NONEXISTENT_FP_WITH_SPACE)
459
460 def test_status_modify(self):
461 utils_lib.write_file(TRACKED_FP, contents='contents')
462 st = self.curr_b.status_file(TRACKED_FP)
463 self.assertTrue(st.modified)
464 utils_lib.write_file(TRACKED_FP, contents=TRACKED_FP_CONTENTS_2)
465 st = self.curr_b.status_file(TRACKED_FP)
466 self.assertFalse(st.modified)
467
468 def test_status_rm(self):
469 os.remove(TRACKED_FP)

Callers

nothing calls this directly

Calls 1

status_fileMethod · 0.80

Tested by

no test coverage detected