-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
Hello,
by running tests on 2.5.4 I get the following warnings that you may already aware of:
tests/unit/images/test_client.py::TestImagesClient::test_get_by_name
/tmp/portage/dev-python/hcloud-2.5.4/work/hcloud-python-2.5.4/tests/unit/images/test_client.py:219: DeprecationWarning: The 'hcloud.images.client.ImagesClient.get_by_name' method is deprecated, please use the 'hcloud.images.client.ImagesClient.get_by_name_and_architecture' method instead.
image = images_client.get_by_name("ubuntu-20.04")
tests/unit/server_types/test_client.py::TestBoundServerType::test_bound_server_type_init
/tmp/portage/dev-python/hcloud-2.5.4/work/hcloud-python-2.5.4/tests/unit/server_types/test_client.py:38: DeprecationWarning: The 'included_traffic' property is deprecated and will be set to 'None' on 5 August 2024. Please refer to the 'prices' property instead. See https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format
assert bound_server_type.included_traffic == 21990232555520
As a side note, by running 2.5.4 I can confirm that #513 has been properly fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels