Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-papazian committed Jun 12, 2024
1 parent 5012c18 commit 7e0fc7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/appsec/appsec/test_remoteconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_rc_activation_states_off(tracer, appsec_enabled, rc_value, remote_confi
@pytest.mark.parametrize(
"rc_enabled, appsec_enabled, capability",
[
(True, "true", "wAv8"), # All capabilities except ASM_ACTIVATION
(True, "true", "4Av8"), # All capabilities except ASM_ACTIVATION
(False, "true", ""),
(True, "false", "CAA="),
(False, "false", ""),
Expand All @@ -145,7 +145,7 @@ def test_rc_capabilities(rc_enabled, appsec_enabled, capability, tracer):
@pytest.mark.parametrize(
"env_rules, expected",
[
({}, "wAv+"), # All capabilities
({}, "4Av+"), # All capabilities
({"DD_APPSEC_RULES": DEFAULT.RULES}, "CAI="), # Only ASM_FEATURES
],
)
Expand Down

0 comments on commit 7e0fc7c

Please sign in to comment.