diff options
| author | Zuul <zuul@review.opendev.org> | 2022-11-05 09:24:51 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2022-11-05 09:24:51 +0000 |
| commit | 837cbfbcdbf6ca42805d10604f8b383ee8e33641 (patch) | |
| tree | bbb6b3c37c3201ef152e8300bd006912879ecfb7 /openstackclient/tests/functional | |
| parent | b0b47472d81b4f29ed70a0755434ac9e4a4b9f62 (diff) | |
| parent | 09ff9a0f4c118f50924d2fc078d6a4501e696224 (diff) | |
| download | python-openstackclient-837cbfbcdbf6ca42805d10604f8b383ee8e33641.tar.gz | |
Merge "quota: Deprecate "force" behavior for network quotas"
Diffstat (limited to 'openstackclient/tests/functional')
| -rw-r--r-- | openstackclient/tests/functional/common/test_quota.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/functional/common/test_quota.py b/openstackclient/tests/functional/common/test_quota.py index 08ec626f..9089cba5 100644 --- a/openstackclient/tests/functional/common/test_quota.py +++ b/openstackclient/tests/functional/common/test_quota.py @@ -176,7 +176,7 @@ class QuotaTests(base.TestCase): def _restore_quota_limit(self, resource, limit, project): self.openstack('quota set --%s %s %s' % (resource, limit, project)) - def test_quota_network_set_with_check_limit(self): + def test_quota_network_set_with_no_force(self): if not self.haz_network: self.skipTest('No Network service present') if not self.is_extension_enabled('quota-check-limit'): @@ -201,7 +201,7 @@ class QuotaTests(base.TestCase): (self.PROJECT_NAME, uuid.uuid4().hex)) self.assertRaises(exceptions.CommandFailed, self.openstack, - 'quota set --networks 1 --check-limit ' + + 'quota set --networks 1 --no-force ' + self.PROJECT_NAME) def test_quota_network_set_with_force(self): |
