summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_isolation.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-154/+153
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-42/+32
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-25Tests: assertion related fixes.Andrei Zeliankou1-15/+13
2023-05-25Tests: removed unused variables.Andrei Zeliankou1-2/+2
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-7/+7
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-14Tests: added tests for "path" option in isolation/cgroup.Andrei Zeliankou1-0/+123
2022-12-09Tests: fixed tests to run as privileged user.Andrei Zeliankou1-6/+7
2022-04-11Tests: style.Andrei Zeliankou1-5/+2
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-04-05Tests: style.Andrei Zeliankou1-12/+6
2021-01-13Tests: added test for "procfs" option.Andrei Zeliankou1-0/+23
2021-01-13Tests: "language_deps" option checked more carefully.Andrei Zeliankou1-20/+12
2021-01-13Tests: style.Andrei Zeliankou1-2/+0
2020-12-09Tests: isolation check moved to the pytest_sessionstart().Andrei Zeliankou1-17/+0
This change eliminates the need for some classes to run Unit one more time before running tests.
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-10-29Isolation: mounting of procfs by default when using "rootfs".Tiago Natel de Moura1-20/+32
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-12/+21
2020-10-07Tests: minor fixes.Andrei Zeliankou1-1/+0
2020-09-09PHP: fixed "rootfs" isolation dependency on system mounts.Tiago Natel de Moura1-0/+30
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-44/+32
2020-05-28Tests: Added rootfs tests.Tiago Natel de Moura1-0/+79