  def testListDisks(self, mock_gce_api):
    """Test that disks are correctly listed."""
    disks = mock_gce_api.return_value.disks.return_value.aggregatedList
    disks.return_value.execute.return_value = gcp_mocks.MOCK_DISKS_AGGREGATED
    list_disks = gcp_mocks.FAKE_ANALYSIS_PROJECT.compute.ListDisks()
    self.assertEqual(2, len(list_disks))
    self.assertEqual('fake-disk', list_disks['0123456789012345678'].name)
    self.assertEqual('fake-boot-disk', list_disks['01234567890123456789'].name)
    self.assertEqual('fake-zone', list_disks['0123456789012345678'].zone)
    self.assertEqual('fake-zone', list_disks['01234567890123456789'].zone)
Test that disks are correctly listed.
tests/providers/gcp/internal/test_compute.py