mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-05-06 13:22:38 +00:00
cleanup(inventory): Rename default hostname method
Rename method get_default_host_name to get_default_hostname. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
@@ -27,8 +27,8 @@ from ansible_collections.kubevirt.core.tests.unit.plugins.inventory.constants im
|
||||
("https://example.com:8080", "example-com_8080"),
|
||||
],
|
||||
)
|
||||
def test_get_default_host_name(host, expected):
|
||||
assert InventoryModule.get_default_host_name(host) == expected
|
||||
def test_get_default_hostname(host, expected):
|
||||
assert InventoryModule.get_default_hostname(host) == expected
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user