Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions tests/unittests/net/test_network_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ def test_bond_multiword_options_from_v2(self, tmpdir):
primary-reselect-policy and transmit-hash-policy used to be
silently dropped from the rendered bond. See GH-6932.
"""
config = textwrap.dedent(
"""\
config = textwrap.dedent("""\
version: 2
ethernets:
eth0:
Expand All @@ -286,8 +285,7 @@ def test_bond_multiword_options_from_v2(self, tmpdir):
fail-over-mac-policy: active
primary-reselect-policy: always
transmit-hash-policy: layer3+4
"""
)
""")

expected_config = {
"/etc/NetworkManager/system-connections/cloud-init-bond0.nmconnection": textwrap.dedent( # noqa: E501
Expand Down
Loading