Fix: Fix test on randint returned value
This commit is contained in:
parent
fae2afa76c
commit
01a0f9db17
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user