Update for os-traits 2.4.0

The upper constraint for os-traits was bumped to 2.4.0 in change
Idf9ae2ea576f4ed882489f03e4dbc94193243c98 and additional traits
are available.

Update the tests and requirements accordingly.

Change-Id: I2d67ea2025bab811b00d98759ac4b97ad0737377
This commit is contained in:
melanie witt 2020-08-04 20:57:18 +00:00
parent df56e21c90
commit ffb9d5fdee
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ netifaces==0.10.4
os-client-config==1.29.0
os-resource-classes==0.5.0
os-service-types==1.2.0
os-traits==2.2.0
os-traits==2.4.0
oslo.concurrency==3.26.0
oslo.config==6.7.0
oslo.context==2.19.2

View File

@ -12,7 +12,7 @@ tests:
- name: what is at traits
GET: /traits
response_json_paths:
$.traits.`len`: 277 # Number of standard traits
$.traits.`len`: 285 # Number of standard traits
- name: create a trait without custom namespace
PUT: /traits/TRAIT_X

View File

@ -23,5 +23,5 @@ oslo.middleware>=3.31.0 # Apache-2.0
oslo.upgradecheck>=0.2.0 # Apache-2.0
# NOTE(efried): Sync lower-constraints.txt for os-traits & os-resource-classes.
os-resource-classes>=0.5.0 # Apache-2.0
os-traits>=2.2.0 # Apache-2.0
os-traits>=2.4.0 # Apache-2.0
microversion-parse>=0.2.1 # Apache-2.0