Lines Matching refs:e
1014 with pytest.raises(edtlib.EDTError) as e:
1016 assert "prop-1" in str(e)
1017 assert "'int' replaced with 'string'" in str(e)
1019 with pytest.raises(edtlib.EDTError) as e:
1021 assert "child-prop-1" in str(e)
1022 assert "'int' replaced with 'string'" in str(e)
1024 with pytest.raises(edtlib.EDTError) as e:
1026 assert "grandchild-prop-1" in str(e)
1027 assert "'int' replaced with 'string'" in str(e)
1036 with pytest.raises(edtlib.EDTError) as e:
1038 assert "prop-const" in str(e)
1039 assert "'8' replaced with '999'" in str(e)
1041 with pytest.raises(edtlib.EDTError) as e:
1043 assert "child-prop-const" in str(e)
1044 assert "'16' replaced with '999'" in str(e)
1046 with pytest.raises(edtlib.EDTError) as e:
1048 assert "grandchild-prop-const" in str(e)
1049 assert "'32' replaced with '999'" in str(e)
1058 with pytest.raises(edtlib.EDTError) as e:
1060 assert "prop-req" in str(e)
1061 assert "'True' replaced with 'False'" in str(e)
1063 with pytest.raises(edtlib.EDTError) as e:
1065 assert "child-prop-req" in str(e)
1066 assert "'True' replaced with 'False'" in str(e)
1068 with pytest.raises(edtlib.EDTError) as e:
1070 assert "grandchild-prop-req" in str(e)
1071 assert "'True' replaced with 'False'" in str(e)
1080 with pytest.raises(edtlib.EDTError) as e:
1082 assert "prop-default" in str(e)
1083 assert "'1' replaced with '999'" in str(e)
1085 with pytest.raises(edtlib.EDTError) as e:
1087 assert "child-prop-default" in str(e)
1088 assert "'2' replaced with '999'" in str(e)
1090 with pytest.raises(edtlib.EDTError) as e:
1092 assert "grandchild-prop-default" in str(e)
1093 assert "'3' replaced with '999'" in str(e)
1102 with pytest.raises(edtlib.EDTError) as e:
1104 assert "prop-enum" in str(e)
1105 assert "'['FOO', 'BAR']' replaced with '['OTHER_FOO', 'OTHER_BAR']'" in str(e)
1107 with pytest.raises(edtlib.EDTError) as e:
1109 assert "child-prop-enum" in str(e)
1110 assert "'['CHILD_FOO', 'CHILD_BAR']' replaced with '['OTHER_FOO', 'OTHER_BAR']'" in str(e)
1112 with pytest.raises(edtlib.EDTError) as e:
1114 assert "grandchild-prop-enum" in str(e)
1117 in str(e)