Browse Source

Merge "Fix test_get_service_by_invalid_params for microversion 2.75"

changes/00/734700/3
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
fdde1314db
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tempest/api/compute/admin/test_services_negative.py

+ 3
- 0
tempest/api/compute/admin/test_services_negative.py View File

@@ -43,6 +43,9 @@ class ServicesAdminNegativeTestJSON(base.BaseV2ComputeAdminTest):
Expect all services to be returned when the request contains invalid
parameters.
"""
if not self.is_requested_microversion_compatible('2.74'):
raise self.skipException(
"From microversion 2.75 invalid parameters are not allowed.")
services = self.client.list_services()['services']
services_xxx = (self.client.list_services(xxx='nova-compute')
['services'])


Loading…
Cancel
Save