@@ -88,10 +88,12 @@ def test_create_dashboard_options(self, mock_dict):
8888
8989 @mock .patch ('user_sync.config.DictConfig.get_string' )
9090 @mock .patch ('user_sync.config.DictConfig.get_dict_config' )
91+ @mock .patch ('user_sync.config.DictConfig.get_list_config' )
9192 @mock .patch ('user_sync.identity_type.parse_identity_type' )
92- def test_get_rule_options (self , mock_id_type ,mock_get_dict ,mock_get_string ):
93+ def test_get_rule_options (self , mock_id_type ,mock_get_dict ,mock_get_list , mock_get_string ):
9394 mock_id_type .return_value = 'new_acc'
9495 mock_get_dict .return_value = tests .helper .MockGetString ()
96+ mock_get_list .return_value = tests .helper .MockGetString ()
9597 self .assertEquals (self .conf_load .get_rule_options (), {'username_filter_regex' : None ,
9698 'update_user_info' : True ,
9799 'manage_groups' : True ,
@@ -102,7 +104,10 @@ def test_get_rule_options(self, mock_id_type,mock_get_dict,mock_get_string):
102104 'default_country_code' : 'test' ,
103105 'remove_user_key_list' : None ,
104106 'remove_list_output_path' : None ,
105- 'remove_nonexistent_users' : False },
107+ 'remove_nonexistent_users' : False ,
108+ 'after_mapping_hook' : None ,
109+ 'extended_attributes' : None ,
110+ },
106111 'rule options are returned' )
107112
108113 def test_parse_string (self ):
0 commit comments