Add multi-username activity support
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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",
|
||||
]
|
||||
Reference in New Issue
Block a user