Skip to content

Commit

Permalink
fix: Debian tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eb-eqm committed Jun 3, 2024
1 parent 33fb664 commit 069e8da
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packetnetworking/distros/debian/test_bonded.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ def test_public_bonded_task_etc_network_interfaces(
auto {iface.name}
iface {iface.name} inet manual
pre-up sleep 4
bond-master bond0
bond-master {iface.bond}
"""
else:
partial = f"""
auto {iface.name}
iface {iface.name} inet manual
bond-master bond0
bond-master {iface.bond}
"""
result += dedent(partial)
partial = f"""
Expand Down Expand Up @@ -121,13 +121,13 @@ def test_private_bonded_task_etc_network_interfaces(
auto {iface.name}
iface {iface.name} inet manual
pre-up sleep 4
bond-master bond0
bond-master {iface.bond}
"""
else:
partial = f"""
auto {iface.name}
iface {iface.name} inet manual
bond-master bond0
bond-master {iface.bond}
"""
result += dedent(partial)
partial = f"""
Expand Down Expand Up @@ -192,13 +192,13 @@ def test_public_bonded_task_etc_network_interfaces_with_custom_private_ip_space(
auto {iface.name}
iface {iface.name} inet manual
pre-up sleep 4
bond-master bond0
bond-master {iface.bond}
"""
else:
partial = f"""
auto {iface.name}
iface {iface.name} inet manual
bond-master bond0
bond-master {iface.bond}
"""
result += dedent(partial)
partial = f"""
Expand Down Expand Up @@ -279,13 +279,13 @@ def test_private_bonded_task_etc_network_interfaces_with_custom_private_ip_space
auto {iface.name}
iface {iface.name} inet manual
pre-up sleep 4
bond-master bond0
bond-master {iface.bond}
"""
else:
partial = f"""
auto {iface.name}
iface {iface.name} inet manual
bond-master bond0
bond-master {iface.bond}
"""
result += dedent(partial)
partial = f"""
Expand Down

0 comments on commit 069e8da

Please sign in to comment.