Skip to content

Commit

Permalink
Upd random in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmyronyuk committed Mar 6, 2025
1 parent 0e89fd5 commit 9714b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_random_observations(num_observations, summary, registry):
labels = {"key": "value"}
sum_observations = 0
for _ in range(num_observations):
value = random.randint(1, 1000) / 100
value = random.uniform(0, 10)
summary.labels(**labels).observe(value)
sum_observations += value

Expand Down

0 comments on commit 9714b54

Please sign in to comment.