Test FileIndexedIO empty file writing
(self)
| 180 | self.assertEqual( f.path() , [] ) |
| 181 | |
| 182 | def testEmptyWrite(self): |
| 183 | """Test FileIndexedIO empty file writing""" |
| 184 | f = IECore.FileIndexedIO(os.path.join( ".", "test", "FileIndexedIO.fio" ), [], IECore.IndexedIO.OpenMode.Write) |
| 185 | self.assertEqual( f.path() , [] ) |
| 186 | f = None |
| 187 | self.assertTrue( os.path.exists( os.path.join( ".", "test", "FileIndexedIO.fio" ) ) ) |
| 188 | |
| 189 | def testSaveWriteObjects(self): |
| 190 | """Test FileIndexedIO read/write operations.""" |
nothing calls this directly
no test coverage detected