( self )
| 730 | class TestValidation( unittest.TestCase ) : |
| 731 | |
| 732 | def test( self ) : |
| 733 | |
| 734 | i = IECore.IntParameter( name = "n", description = "d", defaultValue = 10 ) |
| 735 | self.assertTrue( i.valueValid( IECore.IntData( 1 ) ) ) |
| 736 | self.assertTrue( not i.valueValid( IECore.FloatData( 1 ) )[0] ) |
| 737 | |
| 738 | def testLazyValidation( self ) : |
| 739 |
nothing calls this directly
no test coverage detected