Skip to content

Commit faed1e4

Browse files
committed
tests: Fix wrong state: setting in test_module_parameters()
Don't hardcode state to "enabled" in the unit tests which have per-state inputs.
1 parent c9cbf93 commit faed1e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/unit/test_firewall_lib.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,6 @@ def test_module_parameters(method, state, input, expected):
11131113
params_state = state
11141114
if state in input: # e.g. parameter does not support state disabled
11151115
input = input[state]
1116-
params_state = "enabled"
11171116
am = am_class.return_value
11181117
permanent = "permanent" in expected
11191118
runtime = "runtime" in expected

0 commit comments

Comments
 (0)