MCPcopy Create free account
hub / github.com/apache/cloudstack / _update

Method _update

test/integration/plugins/datera/TestVolumes.py:279–287  ·  view source on GitHub ↗
(self, d, u)

Source from the content-addressed store, hash-verified

277 self.testdata = self._update(self.testdata, json.loads(fd.read()))
278
279 def _update(self, d, u):
280
281 for k, v in u.items():
282 if isinstance(v, collections.Mapping):
283 r = self.update(d.get(k, {}), v)
284 d[k] = r
285 else:
286 d[k] = u[k]
287 return d
288
289
290class TestVolumes(cloudstackTestCase):

Callers 1

updateMethod · 0.95

Calls 2

updateMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected