Skip to content

Commit c1a1deb

Browse files
committed
adding bool to acspted
1 parent cbc9e1b commit c1a1deb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipeline/tests/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def build_fake_node(cls, depth=0):
5353
value = datetime.now()
5454
elif date in property.types:
5555
value = date.today()
56+
elif bool in property.types:
57+
value = random.choice([True, False])
5658
else:
5759
raise TypeError(f"unexpected type(s): {property.types}")
5860
return cls(**data)

0 commit comments

Comments
 (0)