summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/create_volume_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/tests/create_volume_tests.py')
-rw-r--r--snaps/openstack/tests/create_volume_tests.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/snaps/openstack/tests/create_volume_tests.py b/snaps/openstack/tests/create_volume_tests.py
index 4392245..3c9a346 100644
--- a/snaps/openstack/tests/create_volume_tests.py
+++ b/snaps/openstack/tests/create_volume_tests.py
@@ -282,21 +282,6 @@ class CreateSimpleVolumeFailureTests(OSIntegrationTestCase):
with self.assertRaises(BadRequest):
self.volume_creator.create(block=True)
- def test_create_volume_bad_zone(self):
- """
- Tests the creation of an OpenStack volume with an availability zone
- that does not exist to ensure it raises a BadRequest exception.
- """
- volume_settings = VolumeConfig(
- name=self.__class__.__name__ + '-' + str(self.guid),
- availability_zone='foo')
-
- # Create Volume
- self.volume_creator = OpenStackVolume(self.os_creds, volume_settings)
-
- with self.assertRaises(BadRequest):
- self.volume_creator.create(block=True)
-
class CreateVolumeWithTypeTests(OSIntegrationTestCase):
"""