From b4e467e669fc35a92e371280e4068653db53c1b5 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Tue, 6 Feb 2018 20:31:48 +0300 Subject: Fixed configuration checks for "max" property. --- test/test_python_procman.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/test_python_procman.py') 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, -- cgit