MCPcopy Create free account
hub / github.com/ImageEngine/cortex / testNoExtensions

Method testNoExtensions

test/IECore/Parameters.py:706–715  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

704 data["first"] = data["fourth"]
705
706 def testNoExtensions( self ) :
707
708 p = IECore.FileNameParameter(
709 name = "f",
710 description = "d",
711 )
712 self.assertEqual( p.extensions, [] )
713
714 p.setValue( IECore.StringData( "hello.tif" ) )
715 p.setValue( IECore.StringData( "hello" ) )
716
717 def testNotADirectory( self ) :
718

Callers

nothing calls this directly

Calls 2

FileNameParameterMethod · 0.80
setValueMethod · 0.45

Tested by

no test coverage detected