Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 18, 2024
1 parent 59e4a22 commit 8562d07
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions tests/unit/modules/network/nxos/test_nxos_vrf_address_family.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,13 +690,13 @@ def test_vrf_af_deleted(self):
),
)
commands = [
'vrf context VRF2',
'address-family ipv4 unicast',
'no maximum routes 500 60 reinstall 80',
'no route-target export 65512:200',
'no export map 22',
'no export vrf default map 44 allow-vpn',
'no export vrf allow-vpn'
"vrf context VRF2",
"address-family ipv4 unicast",
"no maximum routes 500 60 reinstall 80",
"no route-target export 65512:200",
"no export map 22",
"no export vrf default map 44 allow-vpn",
"no export vrf allow-vpn",
]
result = self.execute_module(changed=True)
self.assertEqual(sorted(result["commands"]), sorted(commands))
Expand Down Expand Up @@ -807,26 +807,26 @@ def test_vrf_af_replaced(self):
),
)
commands = [
'vrf context VRF1',
'address-family ipv4 unicast',
'no route-target export 65512:200',
'no export map 22',
'no export vrf default map 44 allow-vpn',
'address-family ipv6 unicast',
'maximum routes 500 60 reinstall 80',
'no route-target import 65512:200',
'route-target export 65512:200',
'export map 22',
'export vrf default map 44 allow-vpn',
'export vrf allow-vpn',
'vrf context VRF2',
'address-family ipv4 unicast',
'maximum routes 500 60 reinstall 80',
'export map 22',
'export vrf default map 44 allow-vpn',
'export vrf allow-vpn',
'address-family ipv6 unicast',
'no maximum routes 1000'
"vrf context VRF1",
"address-family ipv4 unicast",
"no route-target export 65512:200",
"no export map 22",
"no export vrf default map 44 allow-vpn",
"address-family ipv6 unicast",
"maximum routes 500 60 reinstall 80",
"no route-target import 65512:200",
"route-target export 65512:200",
"export map 22",
"export vrf default map 44 allow-vpn",
"export vrf allow-vpn",
"vrf context VRF2",
"address-family ipv4 unicast",
"maximum routes 500 60 reinstall 80",
"export map 22",
"export vrf default map 44 allow-vpn",
"export vrf allow-vpn",
"address-family ipv6 unicast",
"no maximum routes 1000",
]
result = self.execute_module(changed=True)
self.assertEqual(sorted(result["commands"]), sorted(commands))
Expand Down Expand Up @@ -939,4 +939,4 @@ def test_vrf_af_replaced_idem(self):
)
commands = []
result = self.execute_module(changed=False)
self.assertEqual(sorted(result["commands"]), sorted(commands))
self.assertEqual(sorted(result["commands"]), sorted(commands))

0 comments on commit 8562d07

Please sign in to comment.