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

Method testPrefixNotAdded

test/IECore/PathMatcherTest.py:910–914  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

908 self.assertTrue( m.isEmpty() )
909
910 def testPrefixNotAdded( self ) :
911
912 m = IECore.PathMatcher()
913 m.addPaths( IECore.PathMatcher( [ "/a" ] ), "/prefix" )
914 self.assertEqual( m.paths(), [ "/prefix/a" ] )
915
916 def testEmptyStringIsNotAPath( self ) :
917

Callers

nothing calls this directly

Calls 3

addPathsMethod · 0.95
pathsMethod · 0.95
PathMatcherMethod · 0.80

Tested by

no test coverage detected