Fixing tests
This commit is contained in:
parent
3343039995
commit
f11a91ccdc
|
@ -1,3 +1,4 @@
|
|||
dnspython==1.16.0
|
||||
entrypoints==0.3
|
||||
flake8==3.7.7
|
||||
isort==4.3.9
|
||||
|
|
|
@ -69,7 +69,7 @@ class EmailValidator(object):
|
|||
self.domain_blacklist = self.domain_blacklist.union(
|
||||
x.strip() for x in lines)
|
||||
|
||||
def __call__(self, value: str, use_blacklist: bool) -> bool:
|
||||
def __call__(self, value: str, use_blacklist: bool = True) -> bool:
|
||||
if not value or '@' not in value:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue