( self )
| 787 | self.assertTrue( not p.valueValid( IECore.IntData( 1 ) )[0] ) |
| 788 | |
| 789 | def testUserData( self ) : |
| 790 | |
| 791 | p = IECore.ObjectParameter( name = "name", description = "description", defaultValue = IECore.ObjectVector(), type = IECore.TypeId.ObjectVector, userData = IECore.CompoundObject( { "A" : IECore.IntData( 10 ) } ) ) |
| 792 | self.assertEqual( p.userData(), IECore.CompoundObject( { "A" : IECore.IntData( 10 ) } ) ) |
| 793 | |
| 794 | p = IECore.ObjectParameter( name = "name", description = "description", defaultValue = IECore.ObjectVector(), type = IECore.TypeId.ObjectVector ) |
| 795 | self.assertEqual (p.userData(), IECore.CompoundObject() ) |
| 796 | |
| 797 | def testErrorMessage( self ) : |
| 798 |
nothing calls this directly
no test coverage detected