MCPcopy Index your code
hub / github.com/Textualize/textual / TestWidget

Class TestWidget

tests/test_box_model.py:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 one = Fraction(1)
12
13 class TestWidget(Widget):
14 def get_content_width(self, container: Size, parent: Size) -> int:
15 assert False, "must not be called"
16
17 def get_content_height(self, container: Size, parent: Size) -> int:
18 assert False, "must not be called"
19
20 widget = TestWidget()
21

Callers 5

test_content_boxFunction · 0.70
test_widthFunction · 0.70
test_heightFunction · 0.70
test_maxFunction · 0.70
test_minFunction · 0.70

Calls

no outgoing calls

Tested by 5

test_content_boxFunction · 0.56
test_widthFunction · 0.56
test_heightFunction · 0.56
test_maxFunction · 0.56
test_minFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…