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

Method test_status_nonexistent_fp

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

Source from the content-addressed store, hash-verified

453 self.assertEqual(f_st, self.curr_b.status_file(f_st.fp))
454
455 def test_status_nonexistent_fp(self):
456 self.assertRaises(KeyError, self.curr_b.status_file, NONEXISTENT_FP)
457 self.assertRaises(
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')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected