summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_isolation_chroot.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-19/+18
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-10/+4
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-10/+8
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-3/+1
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-04-05Tests: style.Andrei Zeliankou1-2/+2
2021-01-13Tests: style.Andrei Zeliankou1-1/+0
2020-12-09Tests: isolation check moved to the pytest_sessionstart().Andrei Zeliankou1-1/+0
This change eliminates the need for some classes to run Unit one more time before running tests.
2020-11-12Tests: removed test case that reuses rootfs path.Tiago Natel de Moura1-4/+0
Different applications cannot reuse the same rootfs path if not using namespaces because of globally visible builtin mount points.
2020-10-29Isolation: mounting of procfs by default when using "rootfs".Tiago Natel de Moura1-1/+1
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-3/+3
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-36/+26
2020-05-28Tests: Added rootfs tests.Tiago Natel de Moura1-0/+57