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

Method test_is_draft_true

ci/tests/test_github_project_sync.py:56–59  ·  view source on GitHub ↗

Verify IS_DRAFT=true parses correctly.

(self)

Source from the content-addressed store, hash-verified

54
55 @patch.dict(os.environ, {**BASE_ENV, "IS_DRAFT": "true"}, clear=False)
56 def test_is_draft_true(self) -> None:
57 """Verify IS_DRAFT=true parses correctly."""
58 config = Config.from_env()
59 self.assertTrue(config.is_draft)
60
61 @patch.dict(os.environ, {**BASE_ENV, "STATUS_DRAFT": ""}, clear=False)
62 def test_empty_draft_status(self) -> None:

Callers

nothing calls this directly

Calls 1

from_envMethod · 0.80

Tested by

no test coverage detected