~ubuntu-branches/ubuntu/raring/cinder/raring-updates

« back to all changes in this revision

Viewing changes to cinder/tests/scheduler/test_rpcapi.py

Tags: upstream-2013.1~g2
ImportĀ upstreamĀ versionĀ 2013.1~g2

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
    def test_update_service_capabilities(self):
66
66
        self._test_scheduler_api('update_service_capabilities',
67
 
                rpc_method='fanout_cast', service_name='fake_name',
68
 
                host='fake_host', capabilities='fake_capabilities')
 
67
                                 rpc_method='fanout_cast',
 
68
                                 service_name='fake_name',
 
69
                                 host='fake_host',
 
70
                                 capabilities='fake_capabilities')
69
71
 
70
72
    def test_create_volume(self):
71
73
        self._test_scheduler_api('create_volume',
72
 
                rpc_method='cast', topic='topic', volume_id='volume_id',
73
 
                snapshot_id='snapshot_id', image_id='image_id',
74
 
                request_spec='fake_request_spec',
75
 
                filter_properties='filter_properties',
76
 
                version='1.2')
 
74
                                 rpc_method='cast',
 
75
                                 topic='topic',
 
76
                                 volume_id='volume_id',
 
77
                                 snapshot_id='snapshot_id',
 
78
                                 image_id='image_id',
 
79
                                 request_spec='fake_request_spec',
 
80
                                 filter_properties='filter_properties',
 
81
                                 version='1.2')