From: Avishay Traeger Date: Thu, 20 Jun 2013 04:48:51 +0000 (+0300) Subject: Add missing extend volume test (rpcapi). X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=823989a381138e8acc63995402597b08114c935e;p=openstack-build%2Fcinder-build.git Add missing extend volume test (rpcapi). Add test that was missing to test the volume rpcapi call for extend_volume. Change-Id: Idffc18cad60afe6e8864fd93d36f9ec23a402b73 --- diff --git a/cinder/tests/test_volume_rpcapi.py b/cinder/tests/test_volume_rpcapi.py index e4cfee737..812f927c7 100644 --- a/cinder/tests/test_volume_rpcapi.py +++ b/cinder/tests/test_volume_rpcapi.py @@ -177,3 +177,10 @@ class VolumeRpcAPITestCase(test.TestCase): rpc_method='cast', volume=self.fake_volume, version='1.5') + + def test_extend_volume(self): + self._test_volume_api('extend_volume', + rpc_method='cast', + volume=self.fake_volume, + new_size=1, + version='1.6')