tests: fix and update tests:

- update code to newer version of `sh`
- update code to newer version of `selenium`
- update names of OMEMO algorithms
- fix paths and names used to mount source to the test container
- skip modules using `Gst` and `PyQt` when they are not available.
This commit is contained in:
Goffi 2024-03-05 17:31:56 +01:00
commit 48201780de

View file

@ -17,11 +17,14 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from unittest.mock import MagicMock, patch
from PyQt6.QtWidgets import QApplication
import pytest
from libervia.cli.call_gui import AVCallUI
from libervia.frontends.tools import display_servers
try:
from libervia.cli.call_gui import AVCallUI
from libervia.frontends.tools import display_servers
from PyQt6.QtWidgets import QApplication
except ModuleNotFoundError:
pytest.skip("PyQt6 is not available.", allow_module_level=True)
@pytest.fixture(scope="session")