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

@ -38,7 +38,7 @@ class LiberviaCliJson:
kwargs['output'] = 'json-raw'
kwargs['_tty_out'] = False
cmd = li(*args, **kwargs)
return json.loads(cmd.stdout)
return json.loads(cmd)
def __getattr__(self, name):
if name.startswith('_'):
@ -63,7 +63,7 @@ class LiberviaCliElt(LiberviaCliJson):
kwargs['output'] = 'xml-raw'
kwargs['_tty_out'] = False
cmd = li(*args, **kwargs)
return self.parser(cmd.stdout.decode().strip())
return self.parser(cmd.strip())
class Editor: