Skip to content

Commit

Permalink
Remove server count test
Browse files Browse the repository at this point in the history
Remove tests for deprecated server count property
  • Loading branch information
gmatthews20 committed Dec 9, 2024
1 parent b38f3ce commit ba5773f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
19 changes: 0 additions & 19 deletions tests/enums/props/test_hypervisor_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,25 +210,6 @@ def test_hypervisor_name_serialization(val):
assert HypervisorProperties.from_string(val) is HypervisorProperties.HYPERVISOR_NAME


@pytest.mark.parametrize(
"val",
[
"hypervisor_server_count",
"Hypervisor_Server_Count",
"HyPeRvIsOr_SeRvEr_CoUnT",
"running_vms",
],
)
def test_hypervisor_server_count_serialization(val):
"""
Tests that variants of HYPERVISOR_SERVER_COUNT can be serialized
"""
assert (
HypervisorProperties.from_string(val)
is HypervisorProperties.HYPERVISOR_SERVER_COUNT
)


@pytest.mark.parametrize(
"val",
[
Expand Down
1 change: 0 additions & 1 deletion tests/mappings/test_hypervisor_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def test_client_side_handlers_integer(client_side_test_mappings):
HypervisorProperties.HYPERVISOR_MEMORY_FREE,
HypervisorProperties.HYPERVISOR_VCPUS,
HypervisorProperties.HYPERVISOR_VCPUS_USED,
HypervisorProperties.HYPERVISOR_SERVER_COUNT,
HypervisorProperties.HYPERVISOR_CURRENT_WORKLOAD,
]
handler = HypervisorMapping.get_client_side_handlers().integer_handler
Expand Down

0 comments on commit ba5773f

Please sign in to comment.