summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-01-30 16:16:26 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-01-30 16:16:26 +0300
commitcb80be00a52f3e1d708dc38271a6fa23a4d1a1d2 (patch)
tree97e924b231eae65ce278a4323c7e1c53b6e2871e /test
parent51009004af6305af3cc607d3e85ccb723e4be12e (diff)
downloadunit-cb80be00a52f3e1d708dc38271a6fa23a4d1a1d2.tar.gz
unit-cb80be00a52f3e1d708dc38271a6fa23a4d1a1d2.tar.bz2
Tests: fixed test for listener without port.
Broken after 879868522dbf.
Diffstat (limited to '')
-rw-r--r--test/test_configuration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py
index b4fac30e..104ef272 100644
--- a/test/test_configuration.py
+++ b/test/test_configuration.py
@@ -193,10 +193,10 @@ class TestUnitConfiguration(unit.TestUnitControl):
"""), 'explicit ipv6')
def test_listeners_no_port(self):
- self.assertIn('success', self.put('/', """
+ self.assertIn('error', self.put('/', """
{
"listeners": {
- "[::1]:7082": {
+ "127.0.0.1": {
"application":"app"
}
},