Skip to content

Commit 40532e4

Browse files
committed
Fix names of test cases (forgot to rename them after copy-paste)
1 parent 1d665ba commit 40532e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_plotly_utils/validators/test_subplotid_validator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_rejection_value(val, validator):
5454
# Acceptance
5555

5656
@pytest.mark.parametrize("val", ["legend2", ["legend", "legend2"], ("legend1", "legend2")])
57-
def test_acceptance(val, validator_aok):
57+
def test_acceptance_aok(val, validator_aok):
5858
v = validator_aok.validate_coerce(val)
5959
if isinstance(val, tuple):
6060
assert val == tuple(v)
@@ -64,7 +64,7 @@ def test_acceptance(val, validator_aok):
6464

6565
# Rejection by type
6666
@pytest.mark.parametrize("val", [23, [2, 3], {}, set(), np_inf(), np_nan()])
67-
def test_rejection_type(val, validator_aok):
67+
def test_rejection_type_aok(val, validator_aok):
6868
with pytest.raises(ValueError) as validation_failure:
6969
validator_aok.validate_coerce(val)
7070

@@ -83,7 +83,7 @@ def test_rejection_type(val, validator_aok):
8383
("bogus", "legend2")
8484
],
8585
)
86-
def test_rejection_value(val, validator_aok):
86+
def test_rejection_value_aok(val, validator_aok):
8787
with pytest.raises(ValueError) as validation_failure:
8888
validator_aok.validate_coerce(val)
8989

0 commit comments

Comments
 (0)