Skip to content

Commit 20e0278

Browse files
committed
address lint
1 parent ef3251f commit 20e0278

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

test/integration/models/nodebalancer/test_nodebalancer.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ def linode_with_private_ip(test_linode_client, e2e_test_firewall):
4848

4949

5050
@pytest.fixture(scope="session")
51-
def create_nb_config(test_linode_client, e2e_test_firewall, linode_with_private_ip):
51+
def create_nb_config(
52+
test_linode_client, e2e_test_firewall, linode_with_private_ip
53+
):
5254
client = test_linode_client
5355
nb_label = get_test_label()
5456
node_label = get_test_label(8)
@@ -62,7 +64,9 @@ def create_nb_config(test_linode_client, e2e_test_firewall, linode_with_private_
6264
config = nb.config_create()
6365
linode = linode_with_private_ip
6466
address = next(a for a in linode.ipv4 if a.startswith("192.168"))
65-
node = config.node_create(node_label, f"{address}:80", weight=50, mode="accept")
67+
node = config.node_create(
68+
node_label, f"{address}:80", weight=50, mode="accept"
69+
)
6670

6771
yield config
6872

test/unit/objects/linode_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ def test_get_stackscript(self):
575575

576576

577577
class TypeTest(ClientBaseCase):
578-
579578
def test_get_type_by_id(self):
580579
"""
581580
Tests that a Linode type is loaded correctly by ID

test/unit/objects/monitor_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ def test_specific_service_details(self):
9090
self.assertEqual(data.service_type, "dbaas")
9191

9292
def test_metric_definitions(self):
93-
9493
metrics = self.client.monitor.metric_definitions(service_type="dbaas")
9594
self.assertEqual(
9695
metrics[0].available_aggregate_functions,
@@ -109,7 +108,6 @@ def test_metric_definitions(self):
109108
)
110109

111110
def test_create_token(self):
112-
113111
with self.mock_post("/monitor/services/dbaas/token") as m:
114112
self.client.monitor.create_token(
115113
service_type="dbaas", entity_ids=[189690, 188020]

0 commit comments

Comments
 (0)