def testDiskInfoByWrongUUID(self):
    # Create mock config writer
    cfg = self._get_object_mock()

    # Create an instance and attach a disk to it
    inst, disk = self._CreateInstanceDisk(cfg)

    result = cfg.GetDiskInfo("disk1134")
    self.assertEqual(None, result)
Like update() but only never overwrites
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.config_unittest.py/TestConfigRunner.testDiskInfoByWrongUUID--crossover with--dataset/ETHPy150Open zynga/jasy/jasy/js/api/Writer.py/safeUpdate