( self )
| 97 | a() |
| 98 | |
| 99 | def testReadParsing( self ) : |
| 100 | |
| 101 | l = IECore.ClassLoader( IECore.SearchPath( os.path.join( "test", "IECore", "ops" )) ) |
| 102 | a = l.load( os.path.join( "maths", "multiply" ) )() |
| 103 | |
| 104 | p = a.parameters() |
| 105 | IECore.ParameterParser().parse( ["-a", "read:" + os.path.join( "test", "IECore", "data", "cobFiles", "intDataTen.cob" ), "-b", "30" ], p ) |
| 106 | |
| 107 | self.assertEqual( a(), IECore.IntData( 300 ) ) |
| 108 | |
| 109 | def testSerialising( self ) : |
| 110 |
nothing calls this directly
no test coverage detected