@@ -107,12 +107,12 @@ def test_select_variation_novariation(test_feature):
107107def test_select_variation_variation (test_feature_variants ):
108108 selected_variant = test_feature_variants .get_variant ({"userId" : "2" })
109109 assert selected_variant ["enabled" ]
110- assert selected_variant ["name" ] == "VarB "
110+ assert selected_variant ["name" ] == "VarC "
111111
112112
113113def test_variant_metrics_are_reset (test_feature_variants ):
114114 test_feature_variants .get_variant ({"userId" : "2" })
115- assert test_feature_variants .variant_counts ["VarB " ] == 1
115+ assert test_feature_variants .variant_counts ["VarC " ] == 1
116116
117117 test_feature_variants .reset_stats ()
118118 assert not test_feature_variants .variant_counts
@@ -121,7 +121,7 @@ def test_variant_metrics_are_reset(test_feature_variants):
121121def test_variant_metrics_with_existing_variant (test_feature_variants ):
122122 for iteration in range (1 , 7 ):
123123 test_feature_variants .get_variant ({"userId" : "2" })
124- assert test_feature_variants .variant_counts ["VarB " ] == iteration
124+ assert test_feature_variants .variant_counts ["VarC " ] == iteration
125125
126126
127127def test_variant_metrics_with_disabled_feature (test_feature_variants ):
@@ -149,8 +149,8 @@ def test_strategy_variant_is_returned(test_feature_strategy_variants):
149149
150150 assert variant == {
151151 "enabled" : True ,
152- "name" : "VarB " ,
153- "payload" : {"type" : "string" , "value" : "Test 2 " },
152+ "name" : "VarC " ,
153+ "payload" : {"type" : "string" , "value" : "Test 3 " },
154154 }
155155
156156
0 commit comments