MCPcopy Create free account
hub / github.com/FastLED/FastLED / test_skip_lint

Method test_skip_lint

ci/tests/test_autoresearch_phases.py:561–569  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

559 assert rc == 1
560
561 def test_skip_lint(self) -> None:
562 mock_driver = _make_mock_driver()
563 ctx = _make_ctx(build_driver=mock_driver)
564 ctx.args = _make_args(skip_lint=True)
565 qctx = QuietContext(quiet=False)
566 with patch(f"{_PATCH_MOD}.run_cpp_lint") as mock_lint:
567 rc = asyncio.run(_run_build_deploy(ctx, qctx))
568 mock_lint.assert_not_called()
569 assert rc is None
570
571 def test_lint_failure(self) -> None:
572 mock_driver = _make_mock_driver()

Callers

nothing calls this directly

Calls 6

QuietContextClass · 0.90
_run_build_deployFunction · 0.90
_make_mock_driverFunction · 0.85
_make_ctxFunction · 0.85
_make_argsFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected