

def test_create_wo_additions_or_deletions(self):
    self._setUpConstants()
    RESOURCE = self._makeResource()
    conn = _Connection(RESOURCE)
    client = _Client(project=self.PROJECT, connection=conn)
    zone = _Zone(client)
    changes = self._makeOne(zone)
    with self.assertRaises(ValueError):
        changes.create()
    self.assertEqual(len(conn._requested), 0)

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