Skip to content

Commit b8feba4

Browse files
committed
test: remove test_default_set_contents (parsing tests cover membership)
1 parent 56b2620 commit b8feba4

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/test_first_name_prefixes.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
from nameparser import HumanName
2-
from nameparser.config import CONSTANTS
3-
42
from tests.base import HumanNameTestBase
53

64

75
class FirstNamePrefixesTestCase(HumanNameTestBase):
86

9-
def test_default_set_contents(self) -> None:
10-
for word in ("abdul", "abdel", "abdal", "abu", "abou", "umm"):
11-
assert word in CONSTANTS.first_name_prefixes, f"{word!r} missing from first_name_prefixes"
12-
137
def test_is_first_name_prefix_true(self) -> None:
148
hn = HumanName("test")
159
assert hn.is_first_name_prefix("Abdul")

0 commit comments

Comments
 (0)