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

Method testRepr

test/IECore/FileSequence.py:149–152  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

147 self.assertEqual( s.fileNames(), ["seq.0000.tif", "seq.0001.tif", "seq.0002.tif"] )
148
149 def testRepr( self ) :
150 import IECore
151 s = IECore.FileSequence( "seq.#.tif", IECore.FrameRange( 0, 2 ) )
152 self.assertEqual( s, eval( repr( s ) ) )
153
154 def testPrefix( self ) :
155

Callers

nothing calls this directly

Calls 3

FileSequenceMethod · 0.80
FrameRangeMethod · 0.80
reprFunction · 0.50

Tested by

no test coverage detected