summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_procman.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-04-14 02:35:04 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-04-14 02:35:04 +0100
commit0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc (patch)
tree99dd1db9a07c82aafd61b3afb03d12e65e0d399d /test/test_python_procman.py
parent58cc13ab291cac5b13462006e3feb780178ef5f3 (diff)
downloadunit-0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc.tar.gz
unit-0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc.tar.bz2
Tests: minor fixes and style.
Diffstat (limited to '')
-rw-r--r--test/test_python_procman.py6
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',
)