MCPcopy Create free account
hub / github.com/ImageEngine/cortex / testConstruction

Method testConstruction

test/IECoreImage/ImageWriterTest.py:165–171  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

163 return img
164
165 def testConstruction( self ) :
166
167 w = IECoreImage.ImageWriter( IECoreImage.ImagePrimitive(), os.path.join( "test", "IECoreImage", "data", "exr", "AllHalValues.exr" ) )
168 self.assertIsInstance( w, IECoreImage.ImageWriter )
169
170 w = IECore.Writer.create( os.path.join( "test", "IECoreImage", "data", "exr", "AllHalValues.exr" ) )
171 self.assertIsInstance( w, IECoreImage.ImageWriter )
172
173 def testSupportedExtensions( self ) :
174

Callers

nothing calls this directly

Calls 4

ImageWriterMethod · 0.80
ImagePrimitiveMethod · 0.80
joinMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected