def test_default_new():
    entity = ImageDefReactor.new(handle='ABBA',
                                 owner='0',
                                 dxfattribs={'image_handle': 'FEFE'})
    assert entity.dxf.class_version == 2
    assert entity.dxf.image_handle == 'FEFE'
示例#2
0
def test_default_new():
    entity = ImageDefReactor.new(handle="ABBA",
                                 owner="0",
                                 dxfattribs={"image_handle": "FEFE"})
    assert entity.dxf.class_version == 2
    assert entity.dxf.image_handle == "FEFE"