summaryrefslogtreecommitdiffhomepage
path: root/test/unit/utils.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-29Tests: more fixtures.Andrei Zeliankou1-11/+0
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access.
2023-05-25Tests: removed unused variables.Andrei Zeliankou1-6/+6
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-2/+2
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.
2022-12-12Tests: stop execution if can't unmount any filesystem.Andrei Zeliankou1-2/+9
2022-12-09Tests: fixed tests to run as privileged user.Andrei Zeliankou1-2/+8
2021-07-02Tests: Ruby hooks.Oisin Canty1-6/+22
2021-05-24Tests: test_settings_send_timeout improved.Andrei Zeliankou1-0/+11
Data length adjusts depending on socket buffer size when it's possible.
2021-02-08Tests: added "--restart" option.Andrei Zeliankou1-1/+1
Now Unit do not restart after each test by default.
2021-01-13Tests: waitformount() and waitforunmount() introduced.Andrei Zeliankou1-0/+32
2020-12-09Tests: isolation check moved to the pytest_sessionstart().Andrei Zeliankou1-0/+12
This change eliminates the need for some classes to run Unit one more time before running tests.
2020-12-08Tests: utils module introduced.Andrei Zeliankou1-0/+50