Skip to content

Commit 0f748c9

Browse files
committed
Fix two failing validator tests
1 parent 6901936 commit 0f748c9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

_plotly_utils/tests/validators/test_basetraces_validator.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ def validator():
1010
'bar': 'Bar',
1111
'box': 'Box'},
1212
plotly_name='prop',
13-
parent_name='parent')
13+
parent_name='parent',
14+
set_uid=True)
1415

1516

1617
# Tests

_plotly_utils/tests/validators/test_infoarray_validator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def validator_number3_free():
3030
# ----------
3131
# ### Acceptance ###
3232
@pytest.mark.parametrize('val', [
33-
[1, 'A'], ('hello', 'world!'), [1, ()], [-1, 1]
33+
[1, 'A'], ('hello', 'world!'), [1, set()], [-1, 1]
3434
])
3535
def test_validator_acceptance_any2(val, validator_any2: InfoArrayValidator):
3636
coerce_val = validator_any2.validate_coerce(val)

0 commit comments

Comments
 (0)