diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-01-30 16:16:26 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-01-30 16:16:26 +0300 |
commit | cb80be00a52f3e1d708dc38271a6fa23a4d1a1d2 (patch) | |
tree | 97e924b231eae65ce278a4323c7e1c53b6e2871e | |
parent | 51009004af6305af3cc607d3e85ccb723e4be12e (diff) | |
download | unit-cb80be00a52f3e1d708dc38271a6fa23a4d1a1d2.tar.gz unit-cb80be00a52f3e1d708dc38271a6fa23a4d1a1d2.tar.bz2 |
Tests: fixed test for listener without port.
Broken after 879868522dbf.
-rw-r--r-- | test/test_configuration.py | 4 |
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" } }, |