def test_one_save(self):
        self.doh.save(self.o)
        self.doh.close()
        d = self.newdoh('id1')
        self.assertTrue( os.stat(self.doh.fn_a).st_size > 0 )
        self.assertTrue( os.stat(self.doh.fn_b).st_size == 0 )
        self.assertTrue( isinstance(d.recovered, DObj) )
        self.assertEquals(d.recovered.state, 'initial')
dataset/ETHPy150Open cocagne/paxos/test/test_durable.py/DurableObjectHandlerTester.test_one_save/original