( self )
| 380 | self.assertEqual( IECore.ls( os.path.join( "test", "sequences", "lsTest", "c.####.tif" ) ), None ) |
| 381 | |
| 382 | def testAmbiguousPadding( self ): |
| 383 | |
| 384 | self.tearDown() |
| 385 | os.makedirs( os.path.join( "test", "sequences", "lsTest" ) ) |
| 386 | |
| 387 | s1 = IECore.FileSequence( os.path.join( "test", "sequences", "lsTest", "a.#.tif" ), IECore.FrameRange( 99, 110 ) ) |
| 388 | s2 = IECore.FileSequence( os.path.join( "test", "sequences", "lsTest", "a.##.tif" ), IECore.FrameRange( 99, 110 ) ) |
| 389 | |
| 390 | for f in s1.fileNames() : |
| 391 | self.touch( f ) |
| 392 | |
| 393 | l = IECore.ls( os.path.join( "test", "sequences", "lsTest", "a.#.tif" ) ) |
| 394 | self.assertEqual( s1, l ) |
| 395 | |
| 396 | l = IECore.ls( os.path.join( "test", "sequences", "lsTest", "a.##.tif" ) ) |
| 397 | self.assertEqual( s2, l ) |
| 398 | |
| 399 | def testMinLength( self ) : |
| 400 |
nothing calls this directly
no test coverage detected