( self )
| 185 | self.assertEqual( d, dd ) |
| 186 | |
| 187 | def testMultipleRef( self ) : |
| 188 | |
| 189 | iface = IECore.IndexedIO.create( os.path.join( "test", "o.fio" ), [], IECore.IndexedIO.OpenMode.Write ) |
| 190 | |
| 191 | d = IECore.CompoundData() |
| 192 | i = IECore.IntData( 100 ) |
| 193 | d["ONE"] = i |
| 194 | d["TWO"] = i |
| 195 | |
| 196 | self.assertTrue( d["ONE"].isSame( d["TWO"] ) ) |
| 197 | |
| 198 | d.save( iface, "test" ) |
| 199 | |
| 200 | dd = IECore.Object.load( iface, "test" ) |
| 201 | self.assertEqual( d, dd ) |
| 202 | self.assertTrue( dd["ONE"].isSame( dd["TWO"] ) ) |
| 203 | |
| 204 | def testSaveInCurrentDir( self ) : |
| 205 |
nothing calls this directly
no test coverage detected