Fix: Fix test on randint returned value

This commit is contained in:
Bertrand Benjamin 2022-05-09 09:11:56 +02:00
parent fae2afa76c
commit 01a0f9db17

View File

@ -68,5 +68,5 @@ def test_generate_with_random(template_path_with_random, jinja2_env):
with open(output, "r") as out: with open(output, "r") as out:
lines = out.readlines() lines = out.readlines()
assert int(lines[0][-1]) > 0 assert int(lines[0][-1]) >= 0
assert int(lines[0][-1]) < 10 assert int(lines[0][-1]) < 10