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

Method test_status_ignore

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

Source from the content-addressed store, hash-verified

509 self.assertEqual(core.GL_STATUS_UNTRACKED, st.type)
510
511 def test_status_ignore(self):
512 contents = utils_lib.read_file('.gitignore') + '\n' + TRACKED_FP
513 utils_lib.write_file('.gitignore', contents=contents)
514 # Tracked files can't be ignored
515 st = self.curr_b.status_file(TRACKED_FP)
516 self.assertEqual(core.GL_STATUS_TRACKED, st.type)
517
518 def test_status_untrack_tracked_modify(self):
519 self.curr_b.untrack_file(TRACKED_FP)

Callers

nothing calls this directly

Calls 1

status_fileMethod · 0.80

Tested by

no test coverage detected