Skip to content

Commit

Permalink
Fix sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwini Mhatre committed Oct 16, 2023
1 parent 7f82e81 commit b8dcf3e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/modules/network/nxos/test_nxos_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def test_nxos_config_parents(self):
]

self.assertEqual(config, result["commands"], result["commands"])


def test_nxos_replace_block_src(self):
src = load_fixture("nxos_config", "candidate.cfg")
Expand All @@ -200,7 +199,7 @@ def test_nxos_replace_block_src(self):
]

self.assertEqual(sorted(config), sorted(result["commands"]), result["commands"])

def test_nxos_replace_block_lines(self):
lines = ["ip address 1.2.3.4/5", "no shutdown"]
parents = ["interface Ethernet10"]
Expand Down Expand Up @@ -242,7 +241,7 @@ def test_nxos_config_match_strict_requires_lines(self):
args = dict(match="strict")
set_module_args(args)
result = self.execute_module(failed=True)

def test_nxos_config_replace_block_requires_lines_or_src(self):
args = dict(replace="block")
set_module_args(args)
Expand Down

0 comments on commit b8dcf3e

Please sign in to comment.