1from unit.applications.lang.python import TestApplicationPython
2
3
4class TestPythonEnvironment(TestApplicationPython):
5 prerequisites = {'modules': ['python']}
5 prerequisites = {'modules': {'python': 'any'}}
6
7 def test_python_environment_name_null(self):
8 self.load('environment')
9
10 self.assertIn(
11 'error',
12 self.conf(
13 {"va\0r": "val1"}, 'applications/environment/environment'

--- 166 unchanged lines hidden ---