10 lines
239 B
Python
10 lines
239 B
Python
from app.settings import split_usernames
|
|
|
|
|
|
def test_split_usernames_trims_and_deduplicates() -> None:
|
|
assert split_usernames("octocat, hubot, octocat, , gitea-user") == [
|
|
"octocat",
|
|
"hubot",
|
|
"gitea-user",
|
|
]
|