Esempio n. 1
0
 def test_set_invalid_value_raises_exception(self):
     attribs = GfxAttribs()
     with pytest.raises(ezdxf.DXFValueError):
         attribs.color = 300
Esempio n. 2
0
 def test_set_value(self):
     attribs = GfxAttribs()
     attribs.color = ezdxf.colors.RED
     assert attribs.color == ezdxf.colors.RED