'Regression test for bug #1554631.
When the Cinder client returns OverLimit when trying to create a
snapshot, an OverQuota exception should be raised with the value being
snapshots.'

@mock.patch('nova.volume.cinder.cinderclient')
def test_over_limit_snapshots(self, mock_cinder):

    self._do_snapshot_over_test(mock_cinder)
