MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_push_when_up_to_date_succeeds

Function test_push_when_up_to_date_succeeds

test/test_remote.py:408–414  ·  view source on GitHub ↗
(
    origin: Repository, clone: Repository, remote: Remote
)

Source from the content-addressed store, hash-verified

406
407
408def test_push_when_up_to_date_succeeds(
409 origin: Repository, clone: Repository, remote: Remote
410) -> None:
411 remote.push(['refs/heads/master'])
412 origin_tip = origin[origin.head.target].id
413 clone_tip = clone[clone.head.target].id
414 assert origin_tip == clone_tip
415
416
417def test_push_transfer_progress(

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…