~ubuntu-branches/ubuntu/saucy/nova/saucy-proposed

« back to all changes in this revision

Viewing changes to nova/tests/volume/test_HpSanISCSIDriver.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-09-25 10:54:59 UTC
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: package-import@ubuntu.com-20120925105459-33p2j4m5w7fgnkxk
Tags: upstream-2012.2~rc2
ImportĀ upstreamĀ versionĀ 2012.2~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
    def test_create_volume(self):
176
176
        volume = {'name': self.volume_name, 'size': 1}
177
177
        model_update = self.driver.create_volume(volume)
178
 
        expected_iqn = "iqn.2003-10.com.lefthandnetworks:group01:25366:fakev"
 
178
        expected_iqn = "iqn.2003-10.com.lefthandnetworks:group01:25366:fakev 0"
179
179
        expected_location = "10.0.1.6:3260,1 %s" % expected_iqn
180
180
        self.assertEqual(model_update['provider_location'], expected_location)
181
181