We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58dee40 commit a2c2e9fCopy full SHA for a2c2e9f
tests/metrics/test_sample.py
@@ -385,6 +385,8 @@ def test_metric_sample_from_proto(
385
else:
386
assert sample.value is None
387
388
- mock_to_datetime.assert_called_once()
389
- mock_enum_from_proto.assert_called_once()
390
- mock_bounds_from_proto.assert_called_once()
+ mock_to_datetime.assert_called_once_with(timestamp)
+ mock_enum_from_proto.assert_called_once_with(metric_value, Metric)
+ mock_bounds_from_proto.assert_called_once_with(
391
+ bounds_pb2.Bounds(lower=-10.0, upper=10.0)
392
+ )
0 commit comments