diff --git a/ranger_tempest_plugin/tests/api/test_customers.py b/ranger_tempest_plugin/tests/api/test_customers.py index eacc049..b8dd82e 100755 --- a/ranger_tempest_plugin/tests/api/test_customers.py +++ b/ranger_tempest_plugin/tests/api/test_customers.py @@ -60,7 +60,6 @@ class TestTempestCms(cms_base.CmsBaseOrmTest): CONF.ranger.alt_region])) group_id = body['group']['id'] - self.addCleanup(self.rms_client.delete_region_group, group_id) return group_id diff --git a/ranger_tempest_plugin/tests/api/test_region_groups.py b/ranger_tempest_plugin/tests/api/test_region_groups.py index 10824fa..1a029f6 100755 --- a/ranger_tempest_plugin/tests/api/test_region_groups.py +++ b/ranger_tempest_plugin/tests/api/test_region_groups.py @@ -133,6 +133,6 @@ class TestTempestRegionGroup(base.BaseOrmTest): ids = ['some_non_existenant_region'] self.assertRaises( - exceptions.BadRequest, self.client.create_region_group, + exceptions.NotFound, self.client.create_region_group, **orm_data_utils.rand_region_group(ids) ) diff --git a/tox.ini b/tox.ini index 5e1e4e7..020267b 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ skipdist = True [testenv] usedevelop = True -install_command = pip install {opts} {packages} +install_command = pip install {opts} {packages} --trusted-host pypi.org --trusted-host files.pythonhosted.org setenv = VIRTUAL_ENV={envdir} commands =