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

Method test_valid_help

ci/tests/test_package.py:31–35  ·  view source on GitHub ↗

Test valid help creation

(self)

Source from the content-addressed store, hash-verified

29 """Test Help model validation"""
30
31 def test_valid_help(self) -> None:
32 """Test valid help creation"""
33 help_data = {"online": "https://github.com/espressif/arduino-esp32"}
34 help_obj = Help(**help_data) # type: ignore
35 assert str(help_obj.online) == "https://github.com/espressif/arduino-esp32"
36
37 def test_invalid_url(self) -> None:
38 """Test invalid URL validation"""

Callers

nothing calls this directly

Calls 1

HelpClass · 0.90

Tested by

no test coverage detected