summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_hooks.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-02-21Tests: Ruby hook tests unstable for version older 3.0Andrei Zeliankou1-1/+4
It can fail with reporting following alert: [alert] 137462#137462 mount("none", "/tmp/unit-test-636e0uh8/proc", "proc", 2097162, "") (16: Device or resource busy)
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-60/+65
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable.
2023-06-12Tests: prerequisites checking reworked.Andrei Zeliankou1-2/+2
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-1/+1
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-04-11Tests: style.Andrei Zeliankou1-1/+4
2021-11-02Tests: removed unused imports.Andrei Zeliankou1-2/+0
2021-10-18Tests: style.Andrei Zeliankou1-5/+0
2021-07-02Tests: Ruby hooks.Oisin Canty1-0/+98