diff options
| author | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | 2022-02-03 15:08:35 +0000 |
|---|---|---|
| committer | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | 2022-03-17 02:38:07 +0000 |
| commit | 1c6d396ba30c1a92a417f778d7522ea43e9b2d4a (patch) | |
| tree | a31895947bdcfe160b8e28b002574f5cc0518c4e /openstackclient/tests/unit | |
| parent | e91e0e001c8c46f33f0a67860e78b6bc285b4ecb (diff) | |
| download | python-openstackclient-1c6d396ba30c1a92a417f778d7522ea43e9b2d4a.tar.gz | |
Allow "--force" flag in quota network commands
This flag allows to set a new Neutron quota resource limit without
checking first the current resource usage. The new limit will be
set anyway. This flag was used only by the compute engine.
Related-Bug: #1953170
Change-Id: I7084f8208b804236ac99e6842db7a45854ce54d7
Diffstat (limited to 'openstackclient/tests/unit')
| -rw-r--r-- | openstackclient/tests/unit/common/test_quota.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/tests/unit/common/test_quota.py b/openstackclient/tests/unit/common/test_quota.py index 896a63a7..70fd1436 100644 --- a/openstackclient/tests/unit/common/test_quota.py +++ b/openstackclient/tests/unit/common/test_quota.py @@ -935,6 +935,7 @@ class TestQuotaSet(TestQuota): } kwargs_network = { 'subnet': network_fakes.QUOTA['subnet'], + 'force': True, } self.compute_quotas_mock.update.assert_called_once_with( self.projects[0].id, |
