File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -48,31 +48,34 @@ def test_render_default(self):
4848 }
4949 )
5050 expected = self ._tabs (
51- """package firewall
51+ """\
52+ package firewall
53+
54+ config defaults 'defaults'
5255
5356config rule 'rule_Allow_MLD'
54- option family 'ipv6'
55- list icmp_type '130/0'
56- list icmp_type '131/0'
57- list icmp_type '132/0'
58- list icmp_type '143/0'
5957 option name 'Allow-MLD'
60- option proto 'icmp'
6158 option src 'wan'
59+ option proto 'icmp'
6260 option src_ip 'fe80::/10'
61+ option family 'ipv6'
6362 option target 'ACCEPT'
64-
65- config rule 'rule_Rule2'
66- option family 'ipv4'
6763 list icmp_type '130/0'
6864 list icmp_type '131/0'
6965 list icmp_type '132/0'
7066 list icmp_type '143/0'
67+
68+ config rule 'rule_Rule2'
7169 option name 'Rule2'
72- option proto 'icmp'
7370 option src 'wan'
71+ option proto 'icmp'
7472 option src_ip '192.168.1.1/24'
73+ option family 'ipv4'
7574 option target 'ACCEPT'
75+ list icmp_type '130/0'
76+ list icmp_type '131/0'
77+ list icmp_type '132/0'
78+ list icmp_type '143/0'
7679
7780package luci
7881
You can’t perform that action at this time.
0 commit comments