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

Method testFinalSlash

test/IECore/ClassLoader.py:57–60  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

55 self.assertEqual( l.versions( os.path.join( "maths", "multiply" ) ), [ 1, 2 ] )
56
57 def testFinalSlash( self ) :
58
59 l = IECore.ClassLoader( IECore.SearchPath( os.path.join( "test", "IECore", "ops" ) + os.path.sep ) )
60 self.assertEqual( l.classNames(), ["bad", "classParameterTest", "classVectorParameterTest", "colorSplineInput", "compoundObjectInOut", "floatParameter", os.path.join( "maths", "multiply" ), "matrixParameter", "meshMerge", "objectVectorInOut", "parameterTypes", os.path.join( "path.With.Dot", "multiply" ), "presetParsing", "splineInput", 'stringParsing', "unstorable" ] )
61
62 def testStaticLoaders( self ) :
63

Callers

nothing calls this directly

Calls 3

classNamesMethod · 0.95
SearchPathMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected