Skip to content

Commit 8aeb6cc

Browse files
committed
test: BytesMother.of_length only accepts positive numbers (>1)
Signed-off-by: Adria Montoto <75563346+adriamontoto@users.noreply.github.com>
1 parent 0d429fa commit 8aeb6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mothers/primitives/test_bytes_mother.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_bytes_mother_of_length_method_happy_path() -> None:
179179
"""
180180
Check that BytesMother of_length method returns a bytes value with a length equal to the provided length.
181181
"""
182-
length = IntegerMother.positive_or_zero()
182+
length = IntegerMother.positive()
183183
value = BytesMother.of_length(length=length)
184184

185185
assert type(value) is bytes

0 commit comments

Comments
 (0)