File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tests/malware_analyzer/pypi Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 12
12
from macaron .malware_analyzer .pypi_heuristics .heuristics import HeuristicResult
13
13
from macaron .malware_analyzer .pypi_heuristics .metadata .fake_email import FakeEmailAnalyzer
14
14
15
+ # Note: throughout these unit tests we set email_validator.TEST_ENVIRONMENT to True. This sets a global
16
+ # environment variable in email_validator that ensures that all calls to validate_email have
17
+ # test_environment=True set. This allows test and **.test domains and disables DNS deliverability checks
18
+ # (so disables check_deliverability=true). See https://github.com/JoshData/python-email-validator for more.
19
+
15
20
16
21
@pytest .fixture (name = "analyzer" )
17
22
def analyzer_ () -> FakeEmailAnalyzer :
You can’t perform that action at this time.
0 commit comments