@@ -98,6 +98,7 @@ def test_create_impression_event(self):
9898 'enrich_decisions' : True ,
9999 'anonymize_ip' : False ,
100100 'revision' : '42' ,
101+ 'region' : 'US' ,
101102 }
102103
103104 with mock .patch ('time.time' , return_value = 42.123 ), mock .patch (
@@ -166,6 +167,7 @@ def test_create_impression_event__with_attributes(self):
166167 'enrich_decisions' : True ,
167168 'anonymize_ip' : False ,
168169 'revision' : '42' ,
170+ 'region' : 'US' ,
169171 }
170172
171173 with mock .patch ('time.time' , return_value = 42.123 ), mock .patch (
@@ -232,6 +234,7 @@ def test_create_impression_event_when_attribute_is_not_in_datafile(self):
232234 'enrich_decisions' : True ,
233235 'anonymize_ip' : False ,
234236 'revision' : '42' ,
237+ 'region' : 'US' ,
235238 }
236239
237240 with mock .patch ('time.time' , return_value = 42.123 ), mock .patch (
@@ -299,6 +302,7 @@ def test_create_impression_event_calls_is_attribute_valid(self):
299302 'enrich_decisions' : True ,
300303 'anonymize_ip' : False ,
301304 'revision' : '42' ,
305+ 'region' : 'US' ,
302306 }
303307
304308 def side_effect (* args , ** kwargs ):
@@ -389,6 +393,7 @@ def test_create_impression_event__with_user_agent_when_bot_filtering_is_enabled(
389393 'enrich_decisions' : True ,
390394 'anonymize_ip' : False ,
391395 'revision' : '42' ,
396+ 'region' : 'US' ,
392397 }
393398
394399 with mock .patch ('time.time' , return_value = 42.123 ), mock .patch (
@@ -465,6 +470,7 @@ def test_create_impression_event__with_empty_attributes_when_bot_filtering_is_en
465470 'enrich_decisions' : True ,
466471 'anonymize_ip' : False ,
467472 'revision' : '42' ,
473+ 'region' : 'US' ,
468474 }
469475
470476 with mock .patch ('time.time' , return_value = 42.123 ), mock .patch (
@@ -547,6 +553,7 @@ def test_create_impression_event__with_user_agent_when_bot_filtering_is_disabled
547553 'enrich_decisions' : True ,
548554 'anonymize_ip' : False ,
549555 'revision' : '42' ,
556+ 'region' : 'US' ,
550557 }
551558
552559 with mock .patch ('time.time' , return_value = 42.123 ), mock .patch (
0 commit comments