@@ -52,7 +52,7 @@ def test_invalid_token_leak_request():
5252 ),
5353 (
5454 {"type" : "failer" , "token" : "a" , "url" : "b" },
55- "Cannot extract token from recieved match" ,
55+ "Cannot extract token from received match" ,
5656 "extraction" ,
5757 ),
5858 ],
@@ -594,7 +594,7 @@ def metrics_increment(key):
594594 origin = "github" ,
595595 )
596596 assert metrics == {
597- "warehouse.token_leak.github.recieved " : 1 ,
597+ "warehouse.token_leak.github.received " : 1 ,
598598 "warehouse.token_leak.github.processed" : 1 ,
599599 "warehouse.token_leak.github.valid" : 1 ,
600600 }
@@ -637,7 +637,7 @@ def metrics_increment(key):
637637 origin = "github" ,
638638 )
639639 assert metrics == {
640- "warehouse.token_leak.github.recieved " : 1 ,
640+ "warehouse.token_leak.github.received " : 1 ,
641641 "warehouse.token_leak.github.error.format" : 1 ,
642642 }
643643
@@ -667,7 +667,7 @@ def metrics_increment(key):
667667 origin = "github" ,
668668 )
669669 assert metrics == {
670- "warehouse.token_leak.github.recieved " : 1 ,
670+ "warehouse.token_leak.github.received " : 1 ,
671671 "warehouse.token_leak.github.error.invalid" : 1 ,
672672 }
673673
0 commit comments