From 2f85178f74cbbe47788a954f005b1d80defe41c2 Mon Sep 17 00:00:00 2001 From: aubin bikouo Date: Thu, 28 Nov 2024 18:02:44 +0100 Subject: [PATCH] Fix flynt issue --- tests/unit/plugins/modules/test_rds_cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/plugins/modules/test_rds_cluster.py b/tests/unit/plugins/modules/test_rds_cluster.py index a53f17cb62..faded84983 100644 --- a/tests/unit/plugins/modules/test_rds_cluster.py +++ b/tests/unit/plugins/modules/test_rds_cluster.py @@ -52,7 +52,7 @@ def test_module_state(self, ansible_module): with pytest.raises(SystemExit): rds_cluster.changing_cluster_options(copy.deepcopy(modify_params), current_cluster) rds_cluster.module.fail_json.assert_called_once_with( - "Only aurora clusters can use the state {}".format(state) + f"Only aurora clusters can use the state {state}" ) rds_cluster.module.fail_json.reset_mock() # 'aurora' engine