MCPcopy Index your code
hub / github.com/nodejs/node / testCheckLastPushRecently

Method testCheckLastPushRecently

deps/v8/tools/release/test_scripts.py:507–519  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

505 self.assertEqual(watchlists_content, expected_watchlists_content)
506
507 def testCheckLastPushRecently(self):
508 self.Expect([
509 Cmd("git fetch origin +refs/tags/*:refs/tags/*", ""),
510 Cmd("git tag", self.TAGS),
511 Cmd("git log -1 --format=%H 3.22.4", "release_hash\n"),
512 Cmd("git log -1 --format=%s release_hash",
513 "Version 3.22.4 (based on abc3)\n"),
514 Cmd("git log --format=%H abc3..abc123", "\n"),
515 ])
516
517 self._state["candidate"] = "abc123"
518 self.assertEquals(0, self.RunStep(
519 auto_push.AutoPush, LastReleaseBailout, AUTO_PUSH_ARGS))
520
521 def testAutoPush(self):
522 self.Expect([

Callers

nothing calls this directly

Calls 3

ExpectMethod · 0.95
RunStepMethod · 0.95
CmdFunction · 0.85

Tested by

no test coverage detected