@@ -313,8 +313,8 @@ def test_using_rbs_in_excluded(self):
313313 assert e .eval_with_context ('bilal@split.io' , 'bilal@split.io' , 'some' , {'email' : 'bilal@split.io' }, ctx )['treatment' ] == "off"
314314 ctx = evaluation_facctory .context_for ('bilal' , ['some' ])
315315 assert e .eval_with_context ('bilal' , 'bilal' , 'some' , {'email' : 'bilal' }, ctx )['treatment' ] == "on"
316- ctx = evaluation_facctory .context_for ('bilal2' , ['some' ])
317- assert e .eval_with_context ('bilal2' , 'bilal2' , 'some' , {'email' : 'bilal2' }, ctx )['treatment' ] == "off "
316+ ctx = evaluation_facctory .context_for ('bilal2@split.io ' , ['some' ])
317+ assert e .eval_with_context ('bilal2@split.io ' , 'bilal2@split.io ' , 'some' , {'email' : 'bilal2@split.io ' }, ctx )['treatment' ] == "on "
318318
319319 @pytest .mark .asyncio
320320 async def test_evaluate_treatment_with_rbs_in_condition_async (self ):
@@ -385,8 +385,8 @@ async def test_using_rbs_in_excluded_async(self):
385385 assert e .eval_with_context ('bilal@split.io' , 'bilal@split.io' , 'some' , {'email' : 'bilal@split.io' }, ctx )['treatment' ] == "off"
386386 ctx = await evaluation_facctory .context_for ('bilal' , ['some' ])
387387 assert e .eval_with_context ('bilal' , 'bilal' , 'some' , {'email' : 'bilal' }, ctx )['treatment' ] == "on"
388- ctx = await evaluation_facctory .context_for ('bilal2' , ['some' ])
389- assert e .eval_with_context ('bilal2' , 'bilal2' , 'some' , {'email' : 'bilal2' }, ctx )['treatment' ] == "off "
388+ ctx = await evaluation_facctory .context_for ('bilal2@split.io ' , ['some' ])
389+ assert e .eval_with_context ('bilal2@split.io ' , 'bilal2@split.io ' , 'some' , {'email' : 'bilal2@split.io ' }, ctx )['treatment' ] == "on "
390390
391391class EvaluationDataFactoryTests (object ):
392392 """Test evaluation factory class."""
0 commit comments