

def test_from_api_repr(self):
    self._setUpConstants()
    RESOURCE = self._makeResource()
    zone = _Zone()
    klass = self._getTargetClass()
    changes = klass.from_api_repr(RESOURCE, zone=zone)
    self._verifyResourceProperties(changes, RESOURCE, zone)

dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/dns/test_changes.py TestChanges.test_from_api_repr/original