summaryrefslogtreecommitdiffhomepage
path: root/test/unit/option.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-1/+2
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-0/+1
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-05-29Tests: more fixtures.Andrei Zeliankou1-0/+6
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.
2021-04-05Tests: style.Andrei Zeliankou1-1/+2
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-0/+16
This change is necessary to separate the logic and prevent possible circular dependency.