Skip to content

Commit

Permalink
Fix test_render_default()
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanunderwood committed Jul 25, 2020
1 parent cd96255 commit 5d3ac16
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions tests/openwrt/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,34 @@ def test_render_default(self):
}
)
expected = self._tabs(
"""package firewall
"""\
package firewall
config defaults 'defaults'
config rule 'rule_Allow_MLD'
option family 'ipv6'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option name 'Allow-MLD'
option proto 'icmp'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
option family 'ipv6'
option target 'ACCEPT'
config rule 'rule_Rule2'
option family 'ipv4'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
config rule 'rule_Rule2'
option name 'Rule2'
option proto 'icmp'
option src 'wan'
option proto 'icmp'
option src_ip '192.168.1.1/24'
option family 'ipv4'
option target 'ACCEPT'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
package luci
Expand Down

0 comments on commit 5d3ac16

Please sign in to comment.