Skip to content

Commit 9f8046f

Browse files
committed
linting
1 parent 970679c commit 9f8046f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exporter/opentelemetry-exporter-prometheus/tests/test_prometheus_exporter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,8 @@ def test_label_order_does_not_matter(self):
443443
meter = provider.get_meter("getting-started", "0.1.2")
444444
counter = meter.create_counter("counter")
445445

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"})
448448

449449
prometheus_output = generate_latest().decode()
450450

@@ -455,5 +455,5 @@ def test_label_order_does_not_matter(self):
455455
self.assertIn('reason="reason2"', prometheus_output)
456456

457457
# Only one metric is generated
458-
metric_count = prometheus_output.count('# HELP counter_total')
458+
metric_count = prometheus_output.count("# HELP counter_total")
459459
self.assertEqual(metric_count, 1)

0 commit comments

Comments
 (0)