@@ -65,7 +65,7 @@ def test_get_treatment(self):
6565 self ._validate_last_impressions (client , ('sample_feature' , 'invalidKey' , 'off' ))
6666
6767 assert client .get_treatment ('invalidKey' , 'invalid_feature' ) == 'control'
68- self ._validate_last_impressions (client , ( 'invalid_feature' , 'invalidKey' , 'control' ))
68+ self ._validate_last_impressions (client ) # No impressions should be present
6969
7070 # testing a killed feature. No matter what the key, must return default treatment
7171 assert client .get_treatment ('invalidKey' , 'killed_feature' ) == 'defTreatment'
@@ -83,7 +83,7 @@ def test_get_treatment(self):
8383
8484 # testing INVALID matcher
8585 assert client .get_treatment ('some_user_key' , 'invalid_matcher_feature' ) == 'control'
86- self ._validate_last_impressions (client , ( 'invalid_matcher_feature' , 'some_user_key' , 'control' ))
86+ self ._validate_last_impressions (client ) # No impressions should be present
8787
8888 # testing Dependency matcher
8989 assert client .get_treatment ('somekey' , 'dependency_test' ) == 'off'
@@ -111,7 +111,7 @@ def test_get_treatment_with_config(self):
111111
112112 result = client .get_treatment_with_config ('invalidKey' , 'invalid_feature' )
113113 assert result == ('control' , None )
114- self ._validate_last_impressions (client , ( 'invalid_feature' , 'invalidKey' , 'control' ) )
114+ self ._validate_last_impressions (client )
115115
116116 # testing a killed feature. No matter what the key, must return default treatment
117117 result = client .get_treatment_with_config ('invalidKey' , 'killed_feature' )
@@ -320,7 +320,7 @@ def test_get_treatment(self):
320320 self ._validate_last_impressions (client , ('sample_feature' , 'invalidKey' , 'off' ))
321321
322322 assert client .get_treatment ('invalidKey' , 'invalid_feature' ) == 'control'
323- self ._validate_last_impressions (client , ( 'invalid_feature' , 'invalidKey' , 'control' ) )
323+ self ._validate_last_impressions (client )
324324
325325 # testing a killed feature. No matter what the key, must return default treatment
326326 assert client .get_treatment ('invalidKey' , 'killed_feature' ) == 'defTreatment'
@@ -338,7 +338,7 @@ def test_get_treatment(self):
338338
339339 # testing INVALID matcher
340340 assert client .get_treatment ('some_user_key' , 'invalid_matcher_feature' ) == 'control'
341- self ._validate_last_impressions (client , ( 'invalid_matcher_feature' , 'some_user_key' , 'control' ) )
341+ self ._validate_last_impressions (client )
342342
343343 # testing Dependency matcher
344344 assert client .get_treatment ('somekey' , 'dependency_test' ) == 'off'
@@ -366,7 +366,7 @@ def test_get_treatment_with_config(self):
366366
367367 result = client .get_treatment_with_config ('invalidKey' , 'invalid_feature' )
368368 assert result == ('control' , None )
369- self ._validate_last_impressions (client , ( 'invalid_feature' , 'invalidKey' , 'control' ) )
369+ self ._validate_last_impressions (client )
370370
371371 # testing a killed feature. No matter what the key, must return default treatment
372372 result = client .get_treatment_with_config ('invalidKey' , 'killed_feature' )
0 commit comments