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

Method testBootstrapper

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

Source from the content-addressed store, hash-verified

413 self.assertEquals("0", self._state["new_patch"])
414
415 def testBootstrapper(self):
416 work_dir = self.MakeEmptyTempDirectory()
417 class FakeScript(ScriptsBase):
418 def _Steps(self):
419 return []
420
421 # Use the test configuration without the fake testing default work dir.
422 fake_config = dict(TEST_CONFIG)
423 del(fake_config["DEFAULT_CWD"])
424
425 self.Expect([
426 Cmd("git cl creds-check", "", cwd=work_dir),
427 Cmd("git clone https://chromium.googlesource.com/v8/v8", "",
428 cwd=work_dir),
429 ])
430 FakeScript(fake_config, self).Run(["--work-dir", work_dir])
431
432 def testCreateRelease(self):
433 TextToFile("", os.path.join(TEST_CONFIG["DEFAULT_CWD"], ".git"))

Callers

nothing calls this directly

Calls 5

ExpectMethod · 0.95
CmdFunction · 0.85
FakeScriptClass · 0.85
RunMethod · 0.45

Tested by

no test coverage detected