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

Method test_status_unignore

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

Source from the content-addressed store, hash-verified

501 self.assertTrue(st.modified)
502
503 def test_status_unignore(self):
504 utils_lib.write_file('.gitignore', contents='')
505 st = self.curr_b.status_file(IGNORED_FP)
506 self.assertEqual(core.GL_STATUS_UNTRACKED, st.type)
507
508 st = self.curr_b.status_file(IGNORED_FP_WITH_SPACE)
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

Callers

nothing calls this directly

Calls 1

status_fileMethod · 0.80

Tested by

no test coverage detected