Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomboyo committed Dec 16, 2024
1 parent 8107032 commit fe76bb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/utils/invalids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/utils/valids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}},
Expand Down

0 comments on commit fe76bb3

Please sign in to comment.