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

Method test_status_equivalence

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

Source from the content-addressed store, hash-verified

449 self.__assert_field(fp, 'exists_in_wd', True, exists_in_wd)
450
451 def test_status_equivalence(self):
452 for f_st in self.curr_b.status():
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)

Callers

nothing calls this directly

Calls 2

statusMethod · 0.80
status_fileMethod · 0.80

Tested by

no test coverage detected