diff --git a/tests/components/vultr/fixtures/server_list.json b/tests/components/vultr/fixtures/server_list.json index fa29da3177d8e..259f2931e7f74 100644 --- a/tests/components/vultr/fixtures/server_list.json +++ b/tests/components/vultr/fixtures/server_list.json @@ -50,7 +50,7 @@ "DCID": "1", "default_password": "nreqnusibni", "date_created": "2014-10-13 14:45:41", - "pending_charges": "not a number", + "pending_charges": "3.72", "status": "active", "cost_per_month": "73.25", "current_bandwidth_gb": 957.457, diff --git a/tests/components/vultr/test_sensor.py b/tests/components/vultr/test_sensor.py index a0b93a59124e5..1e4cc65a67c16 100644 --- a/tests/components/vultr/test_sensor.py +++ b/tests/components/vultr/test_sensor.py @@ -82,7 +82,7 @@ def add_entities(devices, action): elif device.subscription == "123456": # Custom name with 1 {} assert device.name == "Server Pending Charges" - assert device.state == "not a number" + assert device.state == 3.72 tested += 1 elif device.subscription == "555555": # No {} in name