forked from pool/python-Twisted
- Add a couple of upstream patches to fix http process information
disclosure (CVE-2024-41671) and XSS via html injection (CVE-2024-41810): * CVE-2024-41671.patch gh#twisted/twisted@4a930de12fb6 * CVE-2024-41810.patch gh#twisted/twisted@046a164f89a0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=151
This commit is contained in:
25
skip_MultiCast.patch
Normal file
25
skip_MultiCast.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
src/twisted/test/test_udp.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: twisted-24.3.0/src/twisted/test/test_udp.py
|
||||
===================================================================
|
||||
--- twisted-24.3.0.orig/src/twisted/test/test_udp.py
|
||||
+++ twisted-24.3.0/src/twisted/test/test_udp.py
|
||||
@@ -8,7 +8,7 @@ Tests for implementations of L{IReactorU
|
||||
|
||||
|
||||
import os
|
||||
-from unittest import skipIf
|
||||
+from unittest import skipIf, SkipTest
|
||||
|
||||
from twisted.internet import defer, error, interfaces, protocol, reactor, udp
|
||||
from twisted.internet.defer import Deferred, gatherResults, maybeDeferred
|
||||
@@ -578,6 +578,7 @@ class MulticastTests(TestCase):
|
||||
skip = "This reactor does not support multicast"
|
||||
|
||||
def setUp(self):
|
||||
+ raise SkipTest("Multicast networking doesn't work with OBS")
|
||||
self.server = Server()
|
||||
self.client = Client()
|
||||
# multicast won't work if we listen over loopback, apparently
|
||||
Reference in New Issue
Block a user