Skip to content

Commit 01f5dea

Browse files
Update test_es.py
1 parent 4f71626 commit 01f5dea

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tests/i18n/test_es.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,9 @@ def test_returns_true_on_valid_nif(value: str):
9494
assert es_nif(value)
9595

9696

97-
@pytest.mark.parametrize(
98-
("value",),
99-
[
100-
("12345",),
101-
("X0000000T",),
102-
("00000000T",),
103-
("00000001R",),
104-
],
105-
)
106-
def test_returns_false_on_invalid_nif(value: str):
97+
def test_returns_false_on_invalid_nif():
10798
"""Test returns false on invalid nif."""
108-
result = es_nif(value)
99+
result = es_nif("12345")
109100
assert isinstance(result, ValidationError)
110101

111102

0 commit comments

Comments
 (0)