Lines Matching full:assert
106 assert binding.child_binding
118 assert child_binding.child_binding
148 assert expect_type == propspec.type
149 assert expect_req == propspec.required
150 assert expect_desc == propspec.description
151 assert expect_enum == propspec.enum
152 assert expect_const == propspec.const
153 assert expect_default == propspec.default
169 assert set(binding.raw["properties"].keys()) == set(binding.prop2specs.keys())
170 assert all(
189 assert {
211 assert binding.child_binding
213 assert {
235 assert child_binding.child_binding
237 assert {
285 assert {
332 assert binding.child_binding
334 assert {
381 assert child_binding.child_binding
383 assert {
446 assert {
505 assert {
582 assert binding
584 assert {
622 assert {
679 assert {
738 assert {
798 assert binding.description == "Binding description."
801 assert binding.description == "Binding description (multi)."
813 assert binding.compatible == "vnd,compat-desc"
816 assert binding.compatible == "vnd,compat-desc-multi"
829 assert child_binding.description == "Child-binding description."
833 assert child_binding.description == "Child-binding description (base)."
847 assert child_binding.compatible == "vnd,child-compat-desc"
851 assert child_binding.compatible == "vnd,child-compat-desc-base"
860 assert grandchild_binding.description == "Grandchild-binding description."
863 assert grandchild_binding.description == "Grandchild-binding description (base)."
873 assert grandchild_binding.compatible == "vnd,grandchild-compat-desc"
877 assert grandchild_binding.compatible == "vnd,grandchild-compat-desc-base"
897 assert {"prop-1", "prop-2"} == set(binding.prop2specs.keys())
900 assert {"prop-2", "prop-3"} == set(binding.prop2specs.keys())
905 assert {"child-prop-1", "child-prop-2"} == set(child_binding.prop2specs.keys())
908 assert {"child-prop-2", "child-prop-3"} == set(child_binding.prop2specs.keys())
913 assert {"grandchild-prop-1", "grandchild-prop-2"} == set(grandchild_binding.prop2specs.keys())
916 assert {"grandchild-prop-2", "grandchild-prop-3"} == set(grandchild_binding.prop2specs.keys())
939 assert not set(binding.prop2specs.keys())
940 assert binding.child_binding
942 assert not set(child_binding.prop2specs.keys())
943 assert child_binding.child_binding
945 assert not set(grandchild_binding.prop2specs.keys())
968 assert not set(binding.prop2specs.keys())
969 assert binding.child_binding
971 assert not set(child_binding.prop2specs.keys())
972 assert child_binding.child_binding
974 assert not set(grandchild_binding.prop2specs.keys())
999 assert {"prop-2"} == set(binding.prop2specs.keys())
1000 assert binding.child_binding
1002 assert {"child-prop-2"} == set(child_binding.prop2specs.keys())
1003 assert child_binding.child_binding
1005 assert {"grandchild-prop-2"} == set(grandchild_binding.prop2specs.keys())
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)
1115 assert (