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

Method __assert_history

gitless/tests/test_e2e.py:447–454  ·  view source on GitHub ↗
(self, expected)

Source from the content-addressed store, hash-verified

445class TestFuse(TestOp):
446
447 def __assert_history(self, expected):
448 out = utils.stdout(gl.history())
449 cids = list(reversed(re.findall(r'ci (.*) in (\S*)', out, re.UNICODE)))
450 self.assertItemsEqual(
451 cids, expected, 'cids is ' + text(cids) + ' exp ' + text(expected))
452
453 st_out = utils.stdout(gl.status())
454 self.assertFalse('fuse' in st_out)
455
456 def __build(self, branch_name, cids=None):
457 if not cids:

Callers 14

test_basicMethod · 0.95
test_only_oneMethod · 0.95
test_only_someMethod · 0.95
test_exclude_oneMethod · 0.95
test_exclude_someMethod · 0.95
test_ip_dpMethod · 0.95
test_ip_headMethod · 0.95
test_ip_commitMethod · 0.95
test_conflictsMethod · 0.95
test_conflicts_switchMethod · 0.95

Calls 3

assertItemsEqualMethod · 0.80
statusMethod · 0.80
historyMethod · 0.45

Tested by

no test coverage detected