Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 10, 2023
1 parent 696e802 commit 94148d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ip access-list test
10 permit ip 192.0.2.1/32 any log
20 permit ip 192.0.2.2/32 any log
30 permit ip 192.0.2.3/32 any log
40 permit ip 192.0.2.4/32 any log
40 permit ip 192.0.2.4/32 any log
3 changes: 1 addition & 2 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_iosxr_replace_block_lines(self):
lines = ["ip address 1.2.3.4/5", "no shutdown"]
parents = ["interface Ethernet10"]
Expand Down

0 comments on commit 94148d7

Please sign in to comment.