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

Method testCanRead

test/IECoreScene/SWAReaderTest.py:101–105  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

99 shutil.rmtree( tempDir )
100
101 def testCanRead( self ) :
102
103 self.assertTrue( IECoreScene.SWAReader.canRead( os.path.join( "test", "IECore", "data", "swaFiles", "test.swa" ) ) )
104 self.assertFalse( IECoreScene.SWAReader.canRead( os.path.join( "test", "IECore", "data", "idxFiles", "test.idx" ) ) )
105 self.assertFalse( IECoreScene.SWAReader.canRead( os.path.join( "test", "IECore", "data", "empty" ) ) )
106
107 def testRegistration( self ) :
108

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
canReadMethod · 0.45

Tested by

no test coverage detected