5264302f61
mock (by default) and koji builds never have network access, but testing that capability through a DNS resolution is not always accurate. Forcefully disable all network tests to avoid unnecessary build failures.
13 lines
404 B
Diff
13 lines
404 B
Diff
diff -up ./test/utils.py.orig ./test/utils.py
|
|
--- ./test/utils.py.orig 2024-02-12 12:22:29.272147056 -0500
|
|
+++ ./test/utils.py 2024-02-12 12:23:45.876659120 -0500
|
|
@@ -50,7 +50,7 @@ except socket.gaierror:
|
|
has_network = False
|
|
|
|
requires_network = pytest.mark.skipif(
|
|
- not has_network,
|
|
+ True,
|
|
reason='Requires network')
|
|
|
|
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
|