summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_isolation.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-32/+33
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-20/+16
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: "temp_dir" fixture used were possible.Andrei Zeliankou1-2/+2
2022-04-11Tests: style.Andrei Zeliankou1-2/+4
2021-10-18Tests: style.Andrei Zeliankou1-4/+0
2021-07-02Tests: run Ruby applications inside temporary directory.Oisin Canty1-7/+0
2021-04-05Tests: style.Andrei Zeliankou1-0/+1
2021-01-13Tests: style.Andrei Zeliankou1-2/+1
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-08Tests: fixed ruby isolation.Tiago Natel de Moura1-19/+8
While alternating between running priv and unpriv tests locally, it happens that unpriv tests can't bind mount or create sub directories inside directories created by root. This patch fixes this by pointing "rootfs" to temporary directory. Now the priv and unpriv test uses the same test function.
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-10/+17
2020-10-29Tests: added new ruby isolation test without namespaces.Tiago Natel de Moura1-1/+20
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-6/+13
2020-10-07Tests: minor fixes.Andrei Zeliankou1-3/+2
2020-10-06Tests: fixed tests to run as root.Andrei Zeliankou1-7/+1
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-34/+20
2020-05-28Tests: Added rootfs tests.Tiago Natel de Moura1-0/+71