@@ -68,6 +68,7 @@ class TestQuotaList(TestQuota):
6868 'Networks' ,
6969 'Ports' ,
7070 'RBAC Policies' ,
71+ 'Router Routes' ,
7172 'Routers' ,
7273 'Security Groups' ,
7374 'Security Group Rules' ,
@@ -134,6 +135,10 @@ def setUp(self):
134135 self .network_quotas [0 ].networks ,
135136 self .network_quotas [0 ].ports ,
136137 self .network_quotas [0 ].rbac_policies ,
138+ # TODO(ralonsoh): restore once [1] is merged and released.
139+ # [1]https://review.opendev.org/c/openstack/openstacksdk/+/991063
140+ # self.network_quotas[0].router_routes,
141+ getattr (self .network_quotas [0 ], 'router_routes' , '' ),
137142 self .network_quotas [0 ].routers ,
138143 self .network_quotas [0 ].security_groups ,
139144 self .network_quotas [0 ].security_group_rules ,
@@ -948,6 +953,7 @@ class TestQuotaShow(TestQuota):
948953 'pools' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
949954 'ports' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
950955 'rbac_policies' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
956+ 'router_routes' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
951957 'routers' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
952958 'security_group_rules' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
953959 'security_groups' : {'limit' : 0 , 'reserved' : 0 , 'used' : 0 },
@@ -1146,6 +1152,7 @@ def test_quota_show__with_network_and_usage(self):
11461152 ('pools' , 0 , 0 , 0 ),
11471153 ('ports' , 0 , 0 , 0 ),
11481154 ('rbac_policies' , 0 , 0 , 0 ),
1155+ ('router_routes' , 0 , 0 , 0 ),
11491156 ('routers' , 0 , 0 , 0 ),
11501157 ('security_group_rules' , 9 , 5 , 7 ),
11511158 ('security_groups' , 0 , 0 , 0 ),
0 commit comments