We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 951dc44 commit 20c985aCopy full SHA for 20c985a
tests/pytests/unit/modules/test_nftables.py
@@ -123,15 +123,17 @@ def test_build_rule():
123
"comment": "Successfully built rule",
124
}
125
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
- }) == {
+ assert nftables.build_rule(
+ **{
+ "table": "filter",
+ "chain": "input",
+ "family": "ip6",
+ "command": "add",
+ "icmpv6-type": "echo-request,echo-reply",
+ "jump": "accept",
+ "full": "True",
135
+ }
136
+ ) == {
137
"result": True,
138
"rule": (
139
"nft add rule ip6 filter input icmpv6 type {"
0 commit comments