Skip to content

Commit b526275

Browse files
author
Chris Hand
committed
Update choice test document to include a tuple
1 parent 69125d1 commit b526275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class LimitedDoc(Document):
7878
f = IntField(min_value=5, max_value=10)
7979
g = StringField(choices=[
8080
['val1', 'test value 1'],
81-
['val2', 'test value 2'],
81+
('val2', 'test value 2'),
8282
['val3', 'test value 3']])
8383

8484
class WrongDoc(Document):

0 commit comments

Comments
 (0)