Skip to content

Commit

Permalink
Merge pull request #9 from RefaceAI/upd-test
Browse files Browse the repository at this point in the history
Upd random in tests
  • Loading branch information
antonmyronyuk authored Mar 6, 2025
2 parents 0e89fd5 + 9714b54 commit 5741167
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 5741167

Please sign in to comment.