Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
texta
texta-mlp-python
Commits
889bc6a2
Commit
889bc6a2
authored
Mar 17, 2021
by
Linda Freienthal
Browse files
Update test_email_parser.py for checking mailto: elimination
parent
948eb7be
Pipeline
#5048
passed with stage
in 14 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_email_parser.py
View file @
889bc6a2
...
...
@@ -9,6 +9,7 @@ import pytest
(
'Dörte@Sörensen.example.com'
,
'why not Dörte@Sörensen.example.com'
),
(
'simonov_semen86@mail.ru'
,
'Семен Симонов simonov_semen86@mail.ru'
),
(
'user+mailbox/department=shipping@example.com'
,
'user+mailbox/department=shipping@example.com'
),
(
'my@gmail.com'
,
'mailto:my@gmail.com'
),
])
def
test_emails
(
mlp
,
expected_email
,
test_input
):
result
=
mlp
.
process
(
test_input
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment