1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
Description: disable currently broken unit tests
Author: Martin <debacle@debian.org>
Origin: vendor
Last-Update: 2024-09-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/unit/frontends/test_webrtc.py
+++ b/tests/unit/frontends/test_webrtc.py
@@ -117,6 +117,7 @@
assert webrtc.webrtcbin.emit.call_count == 1
assert webrtc.webrtcbin.emit.call_args[0][0] == "set-remote-description"
+ @pytest.mark.skip("currently broken")
def test_on_remote_decodebin_stream_video(self, webrtc, monkeypatch):
"""The method correctly handles video streams from the remote decodebin."""
mock_pipeline = MagicMock()
@@ -142,6 +143,7 @@
mock_pipeline.add.assert_called()
mock_pad.link.assert_called()
+ @pytest.mark.skip("currently broken")
def test_on_remote_decodebin_stream_audio(self, webrtc, monkeypatch):
"""The method correctly handles audio streams from the remote decodebin."""
mock_pipeline = MagicMock()
--- a/tests/unit/test_ap-gateway.py
+++ b/tests/unit/test_ap-gateway.py
@@ -426,6 +426,7 @@
if t.getAttribute("type") == "xhtml"
)
+ @pytest.mark.skip("currently broken")
@ed
async def test_jid_and_node_convert_to_ap_handle(self, ap_gateway):
"""JID and pubsub node are converted correctly to an AP actor handle"""
@@ -465,6 +466,7 @@
== "___some_node.40pubsub.2eexample.2eorg@ap.test.example"
)
+ @pytest.mark.skip("currently broken")
@ed
async def test_ap_handle_convert_to_jid_and_node(self, ap_gateway, monkeypatch):
"""AP actor handle convert correctly to JID and pubsub node"""
--- a/tests/unit/test_plugin_xep_0215.py
+++ b/tests/unit/test_plugin_xep_0215.py
@@ -23,6 +23,8 @@
from libervia.backend.tools import xml_tools
from twisted.words.protocols.jabber import jid
+import pytest
+
class TestXEP0215:
def test_parse_services(self, host):
@@ -97,6 +99,7 @@
assert services == expected_services
+ @pytest.mark.skip("currently broken")
@ed
async def test_get_external_services(self, host, client):
xep_0215 = XEP_0215(host)
|