MCPcopy Index your code
hub / github.com/reactive-python/reactpy / test_option_set

Function test_option_set

src/py/reactpy/tests/test__option.py:65–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64
65def test_option_set():
66 opt = Option("A_FAKE_OPTION", "default-value")
67 assert not opt.is_set()
68 opt.current = "a-new-value"
69 assert opt.is_set()
70
71
72def test_option_set_default():

Callers

nothing calls this directly

Calls 2

is_setMethod · 0.95
OptionClass · 0.90

Tested by

no test coverage detected