summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_firewall_interfaces
diff options
context:
space:
mode:
authorShawn Wilsher <656602+sdwilsh@users.noreply.github.com>2022-09-02 06:22:14 -0700
committerGitHub <noreply@github.com>2022-09-02 09:22:14 -0400
commit69a2882d106171f050fac193a552542cdab418a8 (patch)
tree03e419d47de81b473b96f4f2a2a6c8b9f2bee5f8 /tests/integration/targets/vyos_firewall_interfaces
parent4c116b506d4a529370dd63761f601a89d1adbf92 (diff)
downloadvyos-ansible-collection-69a2882d106171f050fac193a552542cdab418a8.tar.gz
vyos-ansible-collection-69a2882d106171f050fac193a552542cdab418a8.zip
Fix `pre-commit` Issues (#223)
* Fix `pre-commit` Issues This change fixes `.pre-commit-config.yaml` so that `main` no longer has errors on it. To accomplish that, two things had to be done: * Update the version of `black` that `pre-commit` uses to match what `tox` uses. * Run `pre-commit run --all-files` and commit the results Co-authored-by: Kate Case <this.is@katherineca.se>
Diffstat (limited to 'tests/integration/targets/vyos_firewall_interfaces')
-rw-r--r--tests/integration/targets/vyos_firewall_interfaces/14
-rw-r--r--tests/integration/targets/vyos_firewall_interfaces/tests/cli/_parsed_config.cfg1
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/integration/targets/vyos_firewall_interfaces/1 b/tests/integration/targets/vyos_firewall_interfaces/1
index 70ae90f..628ada5 100644
--- a/tests/integration/targets/vyos_firewall_interfaces/1
+++ b/tests/integration/targets/vyos_firewall_interfaces/1
@@ -6,11 +6,11 @@ merged:
commands:
- "set interfaces ethernet eth1 firewall in name 'INBOUND'"
- "set interfaces ethernet eth1 firewall out name 'OUTBOUND'"
- - "set interfaces ethernet eth1 firewall local name 'LOCAL'"
+ - "set interfaces ethernet eth1 firewall local name 'LOCAL'"
- "set interfaces ethernet eth1 firewall local ipv6-name 'V6-LOCAL'"
- "set interfaces ethernet eth3 firewall in name 'INBOUND'"
- "set interfaces ethernet eth3 firewall out name 'OUTBOUND'"
- - "set interfaces ethernet eth3 firewall local name 'LOCAL'"
+ - "set interfaces ethernet eth3 firewall local name 'LOCAL'"
- "set interfaces ethernet eth3 firewall local ipv6-name 'V6-LOCAL'"
after:
diff --git a/tests/integration/targets/vyos_firewall_interfaces/tests/cli/_parsed_config.cfg b/tests/integration/targets/vyos_firewall_interfaces/tests/cli/_parsed_config.cfg
index 54696e8..48f286e 100644
--- a/tests/integration/targets/vyos_firewall_interfaces/tests/cli/_parsed_config.cfg
+++ b/tests/integration/targets/vyos_firewall_interfaces/tests/cli/_parsed_config.cfg
@@ -7,4 +7,3 @@ set interfaces ethernet eth2 firewall out name 'OUTBOUND'
set interfaces ethernet eth2 firewall local name 'LOCAL'
set interfaces ethernet eth2 firewall local ipv6-name 'V6-LOCAL'
set interfaces ethernet eth0
-