diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-04-14 02:35:04 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-04-14 02:35:04 +0100 |
commit | 0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc (patch) | |
tree | 99dd1db9a07c82aafd61b3afb03d12e65e0d399d /test/test_python_procman.py | |
parent | 58cc13ab291cac5b13462006e3feb780178ef5f3 (diff) | |
download | unit-0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc.tar.gz unit-0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc.tar.bz2 |
Tests: minor fixes and style.
Diffstat (limited to '')
-rw-r--r-- | test/test_python_procman.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_python_procman.py b/test/test_python_procman.py index 8fb499f7..a2e6126c 100644 --- a/test/test_python_procman.py +++ b/test/test_python_procman.py @@ -196,7 +196,7 @@ class TestPythonProcman(TestApplicationPython): ) self.assertIn( 'error', - self.conf({"idle_timeout": -1}, self.app_proc,), + self.conf({"idle_timeout": -1}, self.app_proc), 'negative idle_timeout', ) self.assertIn( @@ -206,12 +206,12 @@ class TestPythonProcman(TestApplicationPython): ) self.assertIn( 'error', - self.conf({"spare": 2, "max": 1}, self.app_proc,), + self.conf({"spare": 2, "max": 1}, self.app_proc), 'spare gt max', ) self.assertIn( 'error', - self.conf({"spare": 0, "max": 0}, self.app_proc,), + self.conf({"spare": 0, "max": 0}, self.app_proc), 'max zero', ) |