Skip to content

Commit

Permalink
Explicitly add test for email with domain with double dash
Browse files Browse the repository at this point in the history
This is the original case that prompted the ticket/change in #283.
  • Loading branch information
digitalresistor committed Feb 1, 2019
1 parent f754962 commit e363df6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions colander/tests/test_colander.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ def test_valid_emails(self):
self.assertEqual(validator(None, 'name@here1.info'), None)
self.assertEqual(validator(None, 'foo@bar.baz.biz'), None)
self.assertEqual(validator(None, "tip'oneill@house.gov"), None)
self.assertEqual(validator(None, "lorem@i--ipsum.com"), None)

def test_empty_email(self):
validator = self._makeOne()
Expand Down

0 comments on commit e363df6

Please sign in to comment.