diff --git a/tests/auditors/idp/test_identity_provider_with_mappers_without_force_sync_mode.py b/tests/auditors/idp/test_identity_provider_with_mappers_without_force_sync_mode.py index ce17c40..0da0c6c 100644 --- a/tests/auditors/idp/test_identity_provider_with_mappers_without_force_sync_mode.py +++ b/tests/auditors/idp/test_identity_provider_with_mappers_without_force_sync_mode.py @@ -87,11 +87,7 @@ def test_ignore_list_functionality(self, auditor, mock_idp): auditor._DB.get_all_identity_providers.return_value = [mock_idp] # Add the IDP to the ignore list - auditor._CONFIG = { - config_keys.AUDITOR_CONFIG: { - auditor.get_classname(): ["ignored_idp"] - } - } + auditor._CONFIG = {config_keys.AUDITOR_CONFIG: {auditor.get_classname(): ["ignored_idp"]}} results = list(auditor.audit()) assert len(results) == 0 # No findings due to ignore list diff --git a/tests/auditors/idp/test_identity_provider_with_one_time_sync.py b/tests/auditors/idp/test_identity_provider_with_one_time_sync.py index 3bba150..d651aee 100644 --- a/tests/auditors/idp/test_identity_provider_with_one_time_sync.py +++ b/tests/auditors/idp/test_identity_provider_with_one_time_sync.py @@ -70,11 +70,7 @@ def test_ignore_list_functionality(self, auditor, mock_idp): auditor._DB.get_all_identity_providers.return_value = [mock_idp] # Add the IDP to the ignore list - auditor._CONFIG = { - config_keys.AUDITOR_CONFIG: { - auditor.get_classname(): ["ignored_idp"] - } - } + auditor._CONFIG = {config_keys.AUDITOR_CONFIG: {auditor.get_classname(): ["ignored_idp"]}} results = list(auditor.audit()) assert len(results) == 0 # No findings due to ignore list diff --git a/tests/auditors/idp/test_oidc_identity_provider_without_pkce.py b/tests/auditors/idp/test_oidc_identity_provider_without_pkce.py index 288734c..dbc1151 100644 --- a/tests/auditors/idp/test_oidc_identity_provider_without_pkce.py +++ b/tests/auditors/idp/test_oidc_identity_provider_without_pkce.py @@ -87,11 +87,7 @@ def test_ignore_list_functionality(self, auditor, mock_idp): auditor._DB.get_all_identity_providers.return_value = [mock_idp] # Add the IDP to the ignore list - auditor._CONFIG = { - config_keys.AUDITOR_CONFIG: { - auditor.get_classname(): ["ignored_idp"] - } - } + auditor._CONFIG = {config_keys.AUDITOR_CONFIG: {auditor.get_classname(): ["ignored_idp"]}} results = list(auditor.audit()) assert len(results) == 0 # No findings due to ignore list