Lines Matching refs:str

62 YAML_KNOWN_BASE_BINDINGS: dict[str, str] = {
80 def load_binding(path: str) -> edtlib.Binding: argument
98 def child_binding_of(path: str) -> edtlib.Binding: argument
110 def grandchild_binding_of(path: str) -> edtlib.Binding: argument
127 expect_type: str = "int", argument
129 expect_desc: str | None = None,
130 expect_enum: list[int | str] | None = None,
1016 assert "prop-1" in str(e)
1017 assert "'int' replaced with 'string'" in str(e)
1021 assert "child-prop-1" in str(e)
1022 assert "'int' replaced with 'string'" in str(e)
1026 assert "grandchild-prop-1" in str(e)
1027 assert "'int' replaced with 'string'" in str(e)
1038 assert "prop-const" in str(e)
1039 assert "'8' replaced with '999'" in str(e)
1043 assert "child-prop-const" in str(e)
1044 assert "'16' replaced with '999'" in str(e)
1048 assert "grandchild-prop-const" in str(e)
1049 assert "'32' replaced with '999'" in str(e)
1060 assert "prop-req" in str(e)
1061 assert "'True' replaced with 'False'" in str(e)
1065 assert "child-prop-req" in str(e)
1066 assert "'True' replaced with 'False'" in str(e)
1070 assert "grandchild-prop-req" in str(e)
1071 assert "'True' replaced with 'False'" in str(e)
1082 assert "prop-default" in str(e)
1083 assert "'1' replaced with '999'" in str(e)
1087 assert "child-prop-default" in str(e)
1088 assert "'2' replaced with '999'" in str(e)
1092 assert "grandchild-prop-default" in str(e)
1093 assert "'3' replaced with '999'" in str(e)
1104 assert "prop-enum" in str(e)
1105 assert "'['FOO', 'BAR']' replaced with '['OTHER_FOO', 'OTHER_BAR']'" in str(e)
1109 assert "child-prop-enum" in str(e)
1110 assert "'['CHILD_FOO', 'CHILD_BAR']' replaced with '['OTHER_FOO', 'OTHER_BAR']'" in str(e)
1114 assert "grandchild-prop-enum" in str(e)
1117 in str(e)
1159 def _basename(path: str | None) -> str: