( self )
| 41 | class CachedReaderTest( unittest.TestCase ) : |
| 42 | |
| 43 | def testConstructors( self ) : |
| 44 | |
| 45 | # test default pool |
| 46 | r = IECore.CachedReader( IECore.SearchPath( "./" ) ) |
| 47 | self.assertTrue( r.objectPool().isSame( IECore.ObjectPool.defaultObjectPool() ) ) |
| 48 | |
| 49 | # test custom pool |
| 50 | pool = IECore.ObjectPool( 100 * 1024 * 1024 ) |
| 51 | r = IECore.CachedReader( IECore.SearchPath( "./" ), pool ) |
| 52 | self.assertTrue( r.objectPool().isSame( pool ) ) |
| 53 | |
| 54 | def test( self ) : |
| 55 |
nothing calls this directly
no test coverage detected