We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f71626 commit 01f5deaCopy full SHA for 01f5dea
tests/i18n/test_es.py
@@ -94,18 +94,9 @@ def test_returns_true_on_valid_nif(value: str):
94
assert es_nif(value)
95
96
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):
+def test_returns_false_on_invalid_nif():
107
"""Test returns false on invalid nif."""
108
- result = es_nif(value)
+ result = es_nif("12345")
109
assert isinstance(result, ValidationError)
110
111
0 commit comments