diff options
Diffstat (limited to 'test/test_python_procman.py')
-rw-r--r-- | test/test_python_procman.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py index 523067f8..52f5ac96 100644 --- a/test/test_python_procman.py +++ b/test/test_python_procman.py @@ -67,6 +67,11 @@ def application(env, start_response): self.assertIn('error', self.conf_get('/applications/' + self.app_name + '/processes/idle_timeout'), 'idle_timeout no access') + def test_python_processes_spare_gt_max_default(self): + self.assertIn('error', self.conf({"spare": 2}, + '/applications/' + self.app_name + '/processes'), + 'spare greater than max default') + def test_python_processes_spare_gt_max(self): self.assertIn('error', self.conf({ "spare": 2, |