Skip to content

Commit f070bbd

Browse files
committed
pytest fix
1 parent 079baac commit f070bbd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

python/understack-workflows/tests/test_netapp_value_objects.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -588,9 +588,9 @@ def test_calculate_destination_comprehensive_third_octet_zero(self):
588588

589589
for ip in test_ips:
590590
destination = RouteSpec._calculate_destination(ip)
591-
assert destination == ipaddress.IPv4Network("100.126.0.0/17"), (
592-
f"Failed for IP: {ip}"
593-
)
591+
assert destination == ipaddress.IPv4Network(
592+
"100.126.0.0/17"
593+
), f"Failed for IP: {ip}"
594594

595595
def test_calculate_destination_comprehensive_third_octet_128(self):
596596
"""Test comprehensive route destination calculation for third octet = 128."""
@@ -606,9 +606,9 @@ def test_calculate_destination_comprehensive_third_octet_128(self):
606606

607607
for ip in test_ips:
608608
destination = RouteSpec._calculate_destination(ip)
609-
assert destination == ipaddress.IPv4Network("100.126.128.0/17"), (
610-
f"Failed for IP: {ip}"
611-
)
609+
assert destination == ipaddress.IPv4Network(
610+
"100.126.128.0/17"
611+
), f"Failed for IP: {ip}"
612612

613613
def test_calculate_destination_comprehensive_invalid_patterns(self):
614614
"""Test comprehensive error handling for all invalid third octet values."""

0 commit comments

Comments
 (0)