test_python_isolation.py (1622:773f29e26072) test_python_isolation.py (1635:97afbb6c5a15)
1import pytest
2
3from unit.applications.lang.python import TestApplicationPython
4from unit.feature.isolation import TestFeatureIsolation
5
6
7class TestPythonIsolation(TestApplicationPython):
8 prerequisites = {'modules': {'python': 'any'}, 'features': ['isolation']}

--- 80 unchanged lines hidden (view full) ---

89
90 assert (self.get()['status'] != 200), 'disabled language_deps'
91
92 isolation['automount']['language_deps'] = True
93
94 self.load('empty', isolation=isolation)
95
96 assert (self.get()['status'] == 200), 'enabled language_deps'
1import pytest
2
3from unit.applications.lang.python import TestApplicationPython
4from unit.feature.isolation import TestFeatureIsolation
5
6
7class TestPythonIsolation(TestApplicationPython):
8 prerequisites = {'modules': {'python': 'any'}, 'features': ['isolation']}

--- 80 unchanged lines hidden (view full) ---

89
90 assert (self.get()['status'] != 200), 'disabled language_deps'
91
92 isolation['automount']['language_deps'] = True
93
94 self.load('empty', isolation=isolation)
95
96 assert (self.get()['status'] == 200), 'enabled language_deps'
97