'with its options'),
cfg.BoolOpt('no_snapshot_gb_quota',
default=False,
- help='Whether snapshots count against GigaByte quota'),
+ help='Whether snapshots count against gigabyte quota'),
cfg.StrOpt('transfer_api_class',
default='cinder.transfer.api.API',
help='The full class name of the volume transfer API class'),
class VolumeSizeExceedsAvailableQuota(QuotaError):
- message = _("Requested volume or snapshot exceeds allowed Gigabytes "
+ message = _("Requested volume or snapshot exceeds allowed gigabytes "
"quota. Requested %(requested)sG, quota is %(quota)sG and "
"%(consumed)sG has been consumed.")
class VolumeBackupSizeExceedsAvailableQuota(QuotaError):
- message = _("Requested backup exceeds allowed Backup Gigabytes "
+ message = _("Requested backup exceeds allowed Backup gigabytes "
"quota. Requested %(requested)sG, quota is %(quota)sG and "
"%(consumed)sG has been consumed.")
self.assertEqual(res_dict['overLimit']['code'], 413)
self.assertEqual(res_dict['overLimit']['message'],
'Requested volume or snapshot exceeds allowed '
- 'Gigabytes quota. Requested 2G, quota is 3G and '
+ 'gigabytes quota. Requested 2G, quota is 3G and '
'2G has been consumed.')
@mock.patch('cinder.backup.API.restore')
self.assertEqual(res_dict['overLimit']['code'], 413)
self.assertEqual(res_dict['overLimit']['message'],
'Requested volume or snapshot exceeds allowed '
- 'Gigabytes quota. Requested 2G, quota is 3G and '
+ 'gigabytes quota. Requested 2G, quota is 3G and '
'2G has been consumed.')
def test_accept_transfer_with_VolumeLimitExceeded(self):