Skip to content

Commit 20c985a

Browse files
committed
formatting/linting
1 parent 951dc44 commit 20c985a

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

tests/pytests/unit/modules/test_nftables.py

+11-9
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,17 @@ def test_build_rule():
123123
"comment": "Successfully built rule",
124124
}
125125

126-
assert nftables.build_rule(**{
127-
"table": "filter",
128-
"chain": "input",
129-
"family": "ip6",
130-
"command": "add",
131-
"icmpv6-type": "echo-request,echo-reply",
132-
"jump": "accept",
133-
"full": "True",
134-
}) == {
126+
assert nftables.build_rule(
127+
**{
128+
"table": "filter",
129+
"chain": "input",
130+
"family": "ip6",
131+
"command": "add",
132+
"icmpv6-type": "echo-request,echo-reply",
133+
"jump": "accept",
134+
"full": "True",
135+
}
136+
) == {
135137
"result": True,
136138
"rule": (
137139
"nft add rule ip6 filter input icmpv6 type {"

0 commit comments

Comments
 (0)