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

Method test_invalid_url

ci/tests/test_package.py:37–40  ·  view source on GitHub ↗

Test invalid URL validation

(self)

Source from the content-addressed store, hash-verified

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"""
39 with pytest.raises(ValidationError):
40 Help(online="not-a-valid-url") # type: ignore
41
42
43class TestBoard:

Callers

nothing calls this directly

Calls 1

HelpClass · 0.90

Tested by

no test coverage detected