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

Method testSpacesInFilename

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

Source from the content-addressed store, hash-verified

221 self.assertEqual( s.fileNames(), [ "a%20ctest.10000.tif", "a%20ctest.10001.tif" ] )
222
223 def testSpacesInFilename( self ) :
224
225 s = IECore.FileSequence( "space test.#.tif", IECore.FrameRange( 10000, 10001 ) )
226
227 self.assertEqual( s.fileNames(), [ "space test.10000.tif", "space test.10001.tif" ] )
228
229 s = IECore.FileSequence( "spaces test .#.tif", IECore.FrameRange( 10000, 10001 ) )
230
231 self.assertEqual( s.fileNames(), [ "spaces test .10000.tif", "spaces test .10001.tif" ] )
232
233class testCompoundFrameList( unittest.TestCase ) :
234

Callers

nothing calls this directly

Calls 3

fileNamesMethod · 0.95
FileSequenceMethod · 0.80
FrameRangeMethod · 0.80

Tested by

no test coverage detected