Andrei Zeliankou
7934dcabbc
Tests: switched to using f-strings.
...
Previously, it was necessary to support older versions of Python for
compatibility. F-strings were released in Python 3.6. Python 3.5 was
marked as unsupported by the end of 2020, so now it's possible to start
using f-strings safely for better readability and performance.
2023-02-21 17:21:29 +00:00
Andrei Zeliankou
12e2cbae8a
Tests: stop execution if can't unmount any filesystem.
2022-12-12 16:27:02 +00:00
Andrei Zeliankou
55b9a5307d
Tests: fixed tests to run as privileged user.
2022-12-09 14:17:49 +00:00
Oisin Canty
8c83652c2a
Tests: Ruby hooks.
2021-07-02 13:00:57 +00:00
Andrei Zeliankou
1154ede862
Tests: test_settings_send_timeout improved.
...
Data length adjusts depending on socket buffer size when it's possible.
2021-05-24 05:26:15 +01:00
Andrei Zeliankou
4404097e05
Tests: added "--restart" option.
...
Now Unit do not restart after each test by default.
2021-02-08 23:32:27 +00:00
Andrei Zeliankou
db9b70932b
Tests: waitformount() and waitforunmount() introduced.
2021-01-13 06:24:26 +00:00
Andrei Zeliankou
4c846ae693
Tests: isolation check moved to the pytest_sessionstart().
...
This change eliminates the need for some classes
to run Unit one more time before running tests.
2020-12-09 16:15:50 +00:00
Andrei Zeliankou
8f91628563
Tests: utils module introduced.
2020-12-08 14:37:25 +00:00