( self )
| 51 | class TestPythonOp( unittest.TestCase ) : |
| 52 | |
| 53 | def testNewOp( self ) : |
| 54 | |
| 55 | o = PythonOp() |
| 56 | self.assertEqual( o.operate(), IECore.StringData( "john" ) ) |
| 57 | o.parameters()["name"].setValue( IECore.StringData( "jim" ) ) |
| 58 | self.assertEqual( o.operate(), IECore.StringData( "jim" ) ) |
| 59 | self.assertEqual( o(), IECore.StringData( "jim" ) ) |
| 60 | |
| 61 | def testSmartOp( self ): |
| 62 | """ test smart operate function""" |
nothing calls this directly
no test coverage detected