Skip to content

Commit 0f58088

Browse files
committed
reformatting files
1 parent bbf526c commit 0f58088

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

linode_api4/objects/monitor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class ServiceType(StrEnum):
6262
aclb = "aclb"
6363
net_load_balancer = "netloadbalancer"
6464

65+
6566
class MetricType(StrEnum):
6667
"""
6768
Enum for supported metric type

test/integration/models/monitor/test_monitor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_get_all_dashboards(test_linode_client):
3939
assert isinstance(dashboards_by_svc[0], MonitorDashboard)
4040
assert dashboards_by_svc[0].service_type == get_service_type
4141

42+
4243
def test_filter_and_group_by(test_linode_client):
4344
client = test_linode_client
4445
dashboards_by_svc = client.monitor.dashboards(service_type="linode")

test/unit/objects/monitor_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def test_get_all_dashboards(self):
103103
self.assertIsNone(dashboards[0].widgets[0].filters)
104104
# Verify a dashboard with multiple group_by values (id=4, firewall)
105105
self.assertEqual(dashboards[3].id, 4)
106-
self.assertEqual(dashboards[3].group_by, ["entity_id", "linode_id", "interface_id"])
106+
self.assertEqual(
107+
dashboards[3].group_by, ["entity_id", "linode_id", "interface_id"]
108+
)
107109

108110
def test_specific_service_details(self):
109111
data = self.client.load(MonitorService, "dbaas")

0 commit comments

Comments
 (0)