Skip to content

Commit 3f9286a

Browse files
Code review changes: tests updated
1 parent 20ab1cd commit 3f9286a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/obj/test_obj_plugin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,9 @@ def call_operation_side_effect(resource, action, *args, **kwargs):
516516
mock_client = MockCLI.return_value
517517
mock_client.config.plugin_get_value.side_effect = (
518518
lambda k, d=None, t=None: {
519-
"perform-key-cleanup": True,
519+
"key-cleanup-enabled": True,
520520
"key-lifespan": "30d",
521-
"key-rotation-period-days": "10d",
521+
"key-rotation-period": "10d",
522522
"key-cleanup-batch-size": 10,
523523
"last-key-cleanup-timestamp": str(last_cleanup),
524524
}[k]
@@ -571,9 +571,9 @@ def call_operation_side_effect(resource, action, *args, **kwargs):
571571
mock_client = MockCLI.return_value
572572
mock_client.config.plugin_get_value.side_effect = (
573573
lambda k, d=None, t=None: {
574-
"perform-key-cleanup": False, # Clean-up disabled
574+
"key-cleanup-enabled": False, # Clean-up disabled
575575
"key-lifespan": "30d",
576-
"key-rotation-period-days": "10d",
576+
"key-rotation-period": "10d",
577577
"key-cleanup-batch-size": 10,
578578
}[k]
579579
)

0 commit comments

Comments
 (0)