  def testGetDisk(self, mock_list_disks, mock_provider):
    """Test that a particular disk from an account is retrieved."""
    mock_provider.return_value = azure_mocks.MOCK_CAPACITY_PROVIDER
    mock_list_disks.return_value = azure_mocks.MOCK_LIST_DISKS
    disk = azure_mocks.FAKE_ACCOUNT.compute.GetDisk('fake-disk-name')
    self.assertEqual('fake-disk-name', disk.name)
    self.assertEqual(
        '/subscriptions/sub/resourceGroups/fake-resource-group'
        '/providers/Microsoft.Compute/type/fake-disk-name', disk.resource_id)
    self.assertEqual('fake-resource-group', disk.resource_group_name)
    self.assertEqual('fake-region', disk.region)
    self.assertEqual(['fake-zone'], disk.zones)
Test that a particular disk from an account is retrieved.
tests/providers/azure/internal/test_compute.py