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:
parent
fa55bc6fb9
commit
48201780de
1 changed files with 58 additions and 29 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue