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

Method test_lint_failure

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

Source from the content-addressed store, hash-verified

569 assert rc is None
570
571 def test_lint_failure(self) -> None:
572 mock_driver = _make_mock_driver()
573 ctx = _make_ctx(build_driver=mock_driver)
574 ctx.args = _make_args(skip_lint=False)
575 qctx = QuietContext(quiet=False)
576 with patch(f"{_PATCH_MOD}.run_cpp_lint", return_value=False):
577 rc = asyncio.run(_run_build_deploy(ctx, qctx))
578 assert rc == 1
579
580
581# ============================================================

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