File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
exporter/opentelemetry-exporter-prometheus/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -443,8 +443,8 @@ def test_label_order_does_not_matter(self):
443
443
meter = provider .get_meter ("getting-started" , "0.1.2" )
444
444
counter = meter .create_counter ("counter" )
445
445
446
- counter .add (1 , {' cause' : ' cause1' , ' reason' : ' reason1' })
447
- counter .add (1 , {' reason' : ' reason2' , ' cause' : ' cause2' })
446
+ counter .add (1 , {" cause" : " cause1" , " reason" : " reason1" })
447
+ counter .add (1 , {" reason" : " reason2" , " cause" : " cause2" })
448
448
449
449
prometheus_output = generate_latest ().decode ()
450
450
@@ -455,5 +455,5 @@ def test_label_order_does_not_matter(self):
455
455
self .assertIn ('reason="reason2"' , prometheus_output )
456
456
457
457
# Only one metric is generated
458
- metric_count = prometheus_output .count (' # HELP counter_total' )
458
+ metric_count = prometheus_output .count (" # HELP counter_total" )
459
459
self .assertEqual (metric_count , 1 )
You can’t perform that action at this time.
0 commit comments