Tests: fixed test for listener without port.

Broken after 879868522dbf.
This commit is contained in:
Andrey Zelenkov 2018-01-30 16:16:26 +03:00
parent 51009004af
commit cb80be00a5

View file

@ -193,10 +193,10 @@ class TestUnitConfiguration(unit.TestUnitControl):
"""), 'explicit ipv6') """), 'explicit ipv6')
def test_listeners_no_port(self): def test_listeners_no_port(self):
self.assertIn('success', self.put('/', """ self.assertIn('error', self.put('/', """
{ {
"listeners": { "listeners": {
"[::1]:7082": { "127.0.0.1": {
"application":"app" "application":"app"
} }
}, },