diff options
Diffstat (limited to 'openstack_dashboard/dashboards/project/volumes/volumes/tests.py')
-rw-r--r-- | openstack_dashboard/dashboards/project/volumes/volumes/tests.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/openstack_dashboard/dashboards/project/volumes/volumes/tests.py b/openstack_dashboard/dashboards/project/volumes/volumes/tests.py index b6a70d055..219baf80a 100644 --- a/openstack_dashboard/dashboards/project/volumes/volumes/tests.py +++ b/openstack_dashboard/dashboards/project/volumes/volumes/tests.py @@ -494,7 +494,7 @@ class VolumeViewTests(test.TestCase): self.assertEqual(res.redirect_chain, []) self.assertFormError(res, 'form', None, "The volume size cannot be less than the " - "snapshot size (40GB)") + "snapshot size (40GiB)") @test.create_stubs({cinder: ('volume_create', 'volume_type_list', @@ -725,7 +725,7 @@ class VolumeViewTests(test.TestCase): self.assertEqual(res.redirect_chain, []) self.assertFormError(res, 'form', None, "The volume size cannot be less than the " - "image minimum disk size (30GB)") + "image minimum disk size (30GiB)") def test_create_volume_from_image_under_image_min_disk_size(self): image = self.images.get(name="protected_images") @@ -791,8 +791,8 @@ class VolumeViewTests(test.TestCase): url = reverse('horizon:project:volumes:volumes:create') res = self.client.post(url, formData) - expected_error = [u'A volume of 5000GB cannot be created as you only' - ' have 20GB of your quota available.'] + expected_error = [u'A volume of 5000GiB cannot be created as you only' + ' have 20GiB of your quota available.'] self.assertEqual(res.context['form'].errors['__all__'], expected_error) @test.create_stubs({cinder: ('volume_snapshot_list', @@ -1578,8 +1578,8 @@ class VolumeViewTests(test.TestCase): args=[volume.id]) res = self.client.post(url, formData) self.assertFormError(res, "form", "new_size", - "Volume cannot be extended to 1000GB as you only " - "have 80GB of your quota available.") + "Volume cannot be extended to 1000GiB as you " + "only have 80GiB of your quota available.") @test.create_stubs({cinder: ('volume_backup_supported', 'volume_list', |