summaryrefslogtreecommitdiffhomepage
path: root/test/unit
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2021-02-08 23:32:27 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2021-02-08 23:32:27 +0000
commit4404097e05dc71b7ee78ef49c8ba4d0eaf234f85 (patch)
tree87722f61b6d725c0c4182c263419bba3704d4344 /test/unit
parent958bc90caafeaa4cd6b4d6894d0a67284ba13900 (diff)
downloadunit-4404097e05dc71b7ee78ef49c8ba4d0eaf234f85.tar.gz
unit-4404097e05dc71b7ee78ef49c8ba4d0eaf234f85.tar.bz2
Tests: added "--restart" option.
Now Unit do not restart after each test by default.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/utils.py b/test/unit/utils.py
index 7a0a3fe5..e80fc469 100644
--- a/test/unit/utils.py
+++ b/test/unit/utils.py
@@ -47,7 +47,7 @@ def waitforsocket(port):
except KeyboardInterrupt:
raise
- pytest.fail('Can\'t connect to the 127.0.0.1:' + port)
+ pytest.fail('Can\'t connect to the 127.0.0.1:' + str(port))
def findmnt():