def test_set_invalid_value_raises_exception(self): attribs = GfxAttribs() with pytest.raises(ezdxf.DXFValueError): attribs.linetype = "*Test"
def test_set_value(self): attribs = GfxAttribs() attribs.linetype = "Test" assert attribs.linetype == "Test"