commit | 52ff09b64a6d36b36fd0b1211dbc30f3e842435e | [log] [tgz] |
---|---|---|
author | Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> | Fri Feb 24 17:27:03 2017 -0500 |
committer | Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> | Wed Apr 05 14:19:57 2017 -0700 |
tree | 2396fe4a8b9bb57dd073ac074a90dc290aafa2a6 | |
parent | 870f0efa14a9625132e84f0a72d0b498af31acb2 [diff] |
Quota list API returns project_id Quota list API returns tenant_id with the project's resource quota but it doesn't return project_id. When neutron supported keystone v3 feature, it was missed[1]. This patch also removes an useless check from UT. [1]: https://review.openstack.org/#/c/357977/ APIImpact Closes-Bug: #1667827 Change-Id: I78f4aa38a0d775e7600afafdd6941ef485f62ade
diff --git a/neutron/tests/tempest/api/admin/test_quotas.py b/neutron/tests/tempest/api/admin/test_quotas.py index 9736d7f..20a0cc6 100644 --- a/neutron/tests/tempest/api/admin/test_quotas.py +++ b/neutron/tests/tempest/api/admin/test_quotas.py
@@ -91,6 +91,7 @@ found = False for qs in non_default_quotas['quotas']: if qs['tenant_id'] == tenant_id: + self.assertEqual(tenant_id, qs['project_id']) found = True self.assertTrue(found)