Skip to content

Commit 306948d

Browse files
committed
Disable tests that (still) require Internet access in the default build in the Makefile
test_caching_dns_resolver still requires Internet access. It has a pytest.mark decorator, but "make test" still runs it. Now "make test" skips this test. It's probably duplicative with the other tests because the MockedDnsResponseData resolver uses a dns.resolver.Resolver cache internally. Fixes #128.
1 parent fd7ed97 commit 306948d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ typing:
1717

1818
.PHONY: test
1919
test:
20-
PYTHONPATH=.:$PYTHONPATH pytest --cov=email_validator
20+
PYTHONPATH=.:$PYTHONPATH pytest --cov=email_validator -k "not network"
2121

2222
.PHONY: testcov
2323
testcov: test

0 commit comments

Comments
 (0)