]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Automatically skip tests that require Internet access if it is not available 166/head
authorScott Kitterman <scott@kitterman.com>
Sat, 28 May 2016 16:46:20 +0000 (12:46 -0400)
committerScott Kitterman <scott@kitterman.com>
Sat, 28 May 2016 16:46:20 +0000 (12:46 -0400)
commit1146da0f67e1e027def00c3fce74d329b2cd46d9
tree6020533e5b72e6ccb2e80127abbb3f3548f8d6bb
parentf0abd8f23aeb9a588e43e5f845d58fb585eac8c3
Automatically skip tests that require Internet access if it is not available

Add code in tests/test_resolver.py to check if dnspython.org can be looked up by socket.gethostbyname as a test of Internet reachability
Skip tests requiring Internet access (testZoneForName1, testZoneForName2, and testZoneForName3) if it is not available
tests/test_resolver.py