Mercurial > libervia-backend
diff tests/e2e/libervia-cli/conftest.py @ 4227:dfccc90cacc6
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.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 05 Mar 2024 17:31:56 +0100 |
parents | 4b842c1fb686 |
children | 4cd4922de876 |
line wrap: on
line diff
--- a/tests/e2e/libervia-cli/conftest.py Tue Mar 05 17:31:56 2024 +0100 +++ b/tests/e2e/libervia-cli/conftest.py Tue Mar 05 17:31:56 2024 +0100 @@ -38,7 +38,7 @@ 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 @@ 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: