diff --git a/tests/utils/invalids.py b/tests/utils/invalids.py index 6daadd4..dd91c05 100644 --- a/tests/utils/invalids.py +++ b/tests/utils/invalids.py @@ -128,7 +128,7 @@ {"network_interfaces": [{"ipv6_addresses": "0123:4567:89ab:cdef:0123:4567:89ab:cdef"}]}, {"network_interfaces": [{"mtu": "15"}]}, {"rhsm": {"version": "x" * 300}}, - {"rhsm": {"environments": 5}}, + {"rhsm": {"environment_ids": [5]}}, # must be an array of strings {"operating_system": {"name": "RHEL"}}, # Incomplete OS definition {"operating_system": {"name": "RHEL", "major": 9}}, # Incomplete OS definition {"operating_system": {"major": 8, "minor": 7}}, # Incomplete OS definition diff --git a/tests/utils/valids.py b/tests/utils/valids.py index 2c8b4d5..9c92921 100644 --- a/tests/utils/valids.py +++ b/tests/utils/valids.py @@ -78,8 +78,8 @@ {"network_interfaces": [{"ipv6_addresses": ["0123:4567:89ab:cdef:0123:4567:89ab:cdef"]}]}, {"network_interfaces": [{"mtu": 15}]}, {"rhsm": {"version": "99Server"}}, - {"rhsm": {"environments": ["46b6e690cc6a4906a3c9af4bca6e507d"]}}, - {"rhsm": {"environments": ["I'm an opaque token. I can be any string."]}}, + {"rhsm": {"environment_ids": ["46b6e690cc6a4906a3c9af4bca6e507d"]}}, + {"rhsm": {"environment_ids": ["I'm an opaque token. I can be any string."]}}, {"operating_system": {"name": "RHEL", "major": 8, "minor": 10}}, {"operating_system": {"name": "CentOS", "major": 7, "minor": 0}}, {"operating_system": {"name": "CentOS Linux", "major": 7, "minor": 0}},