Skip to content

Commit

Permalink
Fix FirewallAlias counter type in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DonGiovanni83 committed Dec 19, 2024
1 parent ecac4ff commit 55c41f6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/unit/plugins/module_utils/test_firewall_alias_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def test_firewall_alias_to_etree():
type=FirewallAliasType.HOSTS.value,
proto=None,
interface=None,
counters="0",
counters=False,
updatefreq=None,
content="10.0.0.1",
description="host_test",
Expand Down Expand Up @@ -475,7 +475,7 @@ def test_firewall_alias_to_etree_with_content():
type=FirewallAliasType.GEOIP,
proto=IPProtocol.IPv4,
interface=None,
counters="0",
counters=False,
updatefreq=None,
content=["CF", "DZ", "AG"],
description="geoip_test",
Expand Down Expand Up @@ -504,7 +504,7 @@ def test_firewall_alias_to_etree_with_updatefreq():
type=FirewallAliasType.URLTABLES.value,
proto=None,
interface=None,
counters="0",
counters=False,
updatefreq="2",
content="www.puzzle.ch",
description="url_table_test",
Expand Down Expand Up @@ -533,7 +533,7 @@ def test_firewall_alias_to_etree_with_bgpasn_none():
type=FirewallAliasType.BGPASN.value,
proto=None,
interface=None,
counters="0",
counters=False,
categories=None,
content="123456",
description="bgp_test_none",
Expand Down Expand Up @@ -564,7 +564,7 @@ def test_firewall_alias_to_etree_with_bgpasn_ipv4():
type=FirewallAliasType.BGPASN.value,
proto="IPv4",
interface=None,
counters="0",
counters=False,
categories=None,
content="123456",
description="bgp_test_ipv4",
Expand Down Expand Up @@ -595,7 +595,7 @@ def test_firewall_alias_to_etree_with_bgpasn_ipv6():
type=FirewallAliasType.BGPASN.value,
proto="IPv6",
interface=None,
counters="0",
counters=False,
categories=None,
content="123456",
description="bgp_test_ipv6",
Expand Down Expand Up @@ -626,7 +626,7 @@ def test_firewall_alias_to_etree_with_bgpasn_ipv4_ipv6():
type=FirewallAliasType.BGPASN.value,
proto="IPv4,IPv6",
interface=None,
counters="0",
counters=False,
categories=None,
content="123456",
description="bgp_test_ipv4_ipv6",
Expand Down

0 comments on commit 55c41f6

Please sign in to comment.