@@ -1116,7 +1116,7 @@ def test_get_variation_cmab_experiment_does_not_save_user_profile(self):
11161116 mock .patch .object (self .project_config , 'get_variation_from_id' ,
11171117 return_value = entities .Variation ('111151' , 'variation_1' )), \
11181118 mock .patch .object (user_profile_tracker , 'update_user_profile' ) as mock_update_profile , \
1119- mock .patch .object (self .decision_service , 'logger' ) as mock_logger :
1119+ mock .patch .object (self .decision_service , 'logger' ) as mock_logger :
11201120
11211121 # Configure CMAB service to return a decision
11221122 mock_cmab_service .get_decision .return_value = (
@@ -1175,7 +1175,7 @@ def test_get_variation_standard_experiment_saves_user_profile(self):
11751175 return_value = [True , []]), \
11761176 mock .patch ('optimizely.bucketer.Bucketer.bucket' ,
11771177 return_value = [entities .Variation ("111129" , "variation" ), []]), \
1178- mock .patch .object (user_profile_tracker , 'update_user_profile' ) as mock_update_profile :
1178+ mock .patch .object (user_profile_tracker , 'update_user_profile' ) as mock_update_profile :
11791179
11801180 # Call get_variation with standard experiment and user profile tracker
11811181 variation_result = self .decision_service .get_variation (
@@ -1227,7 +1227,7 @@ def test_get_variation_cmab_experiment_with_ignore_ups_option(self):
12271227 mock .patch .object (self .project_config , 'get_variation_from_id' ,
12281228 return_value = entities .Variation ('111151' , 'variation_1' )), \
12291229 mock .patch .object (user_profile_tracker , 'update_user_profile' ) as mock_update_profile , \
1230- mock .patch .object (self .decision_service , 'logger' ):
1230+ mock .patch .object (self .decision_service , 'logger' ):
12311231
12321232 mock_cmab_service .get_decision .return_value = (
12331233 {'variation_id' : '111151' , 'cmab_uuid' : 'test-uuid' },
0 commit comments