Skip to content

Commit

Permalink
Merge "Fix typo in cinder.tests.test_create_volume_flow"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Sep 12, 2013
2 parents 21dc739 + 0416e51 commit d3dde4e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cinder/tests/test_create_volume_flow.py
Expand Up @@ -14,15 +14,16 @@
# under the License.
""" Tests for create_volume TaskFlow """

import mock
import time

import mock

from cinder import context
from cinder import test
from cinder.volume.flows import create_volume


class fake_sheduler_rpc_api(object):
class fake_scheduler_rpc_api(object):
def __init__(self, expected_spec, test_inst):
self.expected_spec = expected_spec
self.test_inst = test_inst
Expand Down Expand Up @@ -87,7 +88,7 @@ def test_cast_create_volume(self):
'snapshot_id': None,
'image_id': None}

task = create_volume.VolumeCastTask(fake_sheduler_rpc_api(spec, self),
task = create_volume.VolumeCastTask(fake_scheduler_rpc_api(spec, self),
fake_volume_api(spec, self),
fake_db())

Expand All @@ -98,7 +99,7 @@ def test_cast_create_volume(self):
'snapshot_id': 3,
'image_id': 4}

task = create_volume.VolumeCastTask(fake_sheduler_rpc_api(spec, self),
task = create_volume.VolumeCastTask(fake_scheduler_rpc_api(spec, self),
fake_volume_api(spec, self),
fake_db())

Expand Down

0 comments on commit d3dde4e

Please sign in to comment.