Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
python-email_validator
fix-tests-strings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-tests-strings.patch of Package python-email_validator
Index: python-email-validator-1.1.0/tests/test_main.py =================================================================== --- python-email-validator-1.1.0.orig/tests/test_main.py +++ python-email-validator-1.1.0/tests/test_main.py @@ -212,17 +212,17 @@ def test_email_valid(email_input, output ('my@..twodots.com', 'An email address cannot have a period immediately after the @-sign.'), ('my@twodots..com', 'An email address cannot have two periods in a row.'), ('my@baddash.-.com', - 'The domain name baddash.-.com contains invalid characters (Label must not start or end with a hyphen).'), + 'The domain name baddash.-.com contains invalid characters (The label b\'-\' is not a valid A-label).'), ('my@baddash.-a.com', - 'The domain name baddash.-a.com contains invalid characters (Label must not start or end with a hyphen).'), + 'The domain name baddash.-a.com contains invalid characters (The label b\'-a\' is not a valid A-label).'), ('my@baddash.b-.com', - 'The domain name baddash.b-.com contains invalid characters (Label must not start or end with a hyphen).'), + 'The domain name baddash.b-.com contains invalid characters (The label b\'b-\' is not a valid A-label).'), ('my@example.com\n', - 'The domain name example.com\n contains invalid characters (Codepoint U+000A at position 4 of ' - '\'com\\n\' not allowed).'), + 'The domain name example.com\n contains invalid characters (Codepoint U+000A not allowed at ' + 'position 12 in \'example.com\\n\').'), ('my@example\n.com', - 'The domain name example\n.com contains invalid characters (Codepoint U+000A at position 8 of ' - '\'example\\n\' not allowed).'), + 'The domain name example\n.com contains invalid characters (Codepoint U+000A not allowed at ' + 'position 8 in \'example\\n.com\').'), ('.leadingdot@domain.com', 'The email address contains invalid characters before the @-sign: ..'), ('..twodots@domain.com', 'The email address contains invalid characters before the @-sign: ..'), ('twodots..here@domain.com', 'The email address contains invalid characters before the @-sign: ..'),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor