Skip to content

Commit 2780df7

Browse files
committed
Fix opentelemetry-api tests
1 parent 1309b61 commit 2780df7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

opentelemetry-api/tests/metrics/test_meter_provider.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,13 @@ def test_proxy_meter(self):
279279
real_gauge.assert_not_called()
280280

281281
proxy_counter.add(amount, attributes=attributes)
282-
real_counter.add.assert_called_once_with(amount, attributes)
282+
real_counter.add.assert_called_once_with(amount, attributes, None)
283283
proxy_updowncounter.add(amount, attributes=attributes)
284-
real_updowncounter.add.assert_called_once_with(amount, attributes)
284+
real_updowncounter.add.assert_called_once_with(amount, attributes, None)
285285
proxy_histogram.record(amount, attributes=attributes)
286-
real_histogram.record.assert_called_once_with(amount, attributes)
286+
real_histogram.record.assert_called_once_with(amount, attributes, None)
287287
proxy_gauge.set(amount, attributes=attributes)
288-
real_gauge.set.assert_called_once_with(amount, attributes)
288+
real_gauge.set.assert_called_once_with(amount, attributes, None)
289289

290290
def test_proxy_meter_with_real_meter(self) -> None:
291291
# Creating new instruments on the _ProxyMeter with a real meter set

0 commit comments

Comments
 (0)