Skip to content

Commit 5741167

Browse files
Merge pull request #9 from RefaceAI/upd-test
Upd random in tests
2 parents 0e89fd5 + 9714b54 commit 5741167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_summary.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_random_observations(num_observations, summary, registry):
2323
labels = {"key": "value"}
2424
sum_observations = 0
2525
for _ in range(num_observations):
26-
value = random.randint(1, 1000) / 100
26+
value = random.uniform(0, 10)
2727
summary.labels(**labels).observe(value)
2828
sum_observations += value
2929

0 commit comments

Comments
 (0)