gst-libav1: update to 1.24.11
[oi-userland.git] / components / python / dnspython / patches / 01-test-skip-internet.patch
blob7173a596ff3252638f5055676dbc6e7feecd0e9d
1 --- dnspython-2.7.0/tests/test_resolver_override.py.orig
2 +++ dnspython-2.7.0/tests/test_resolver_override.py
3 @@ -10,6 +10,8 @@
4 import dns.resolver
5 import tests.util
7 +import pytest
10 @unittest.skipIf(not tests.util.is_internet_reachable(), "Internet not reachable")
11 class OverrideSystemResolverTestCase(unittest.TestCase):
12 @@ -194,6 +196,7 @@
13 # a = dns.resolver._original_getfqdn('www.dnspython.org')
14 # self.assertEqual(dns.name.from_text(a), dns.name.from_text(b))
16 + @pytest.mark.skip(reason="needs internet access")
17 def test_gethostbyaddr(self):
18 a = dns.resolver._original_gethostbyaddr("8.8.8.8")
19 b = socket.gethostbyaddr("8.8.8.8")