summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2017-11-28 21:59:31 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2017-11-28 21:59:31 +0300
commit4d772a9cd0b22baa08d4ef4c8decc7f1608e19af (patch)
tree1feec97656becdc5b15908d2c9870d2e090d2b95
parentcf09ca655a051609d730f929f96c8178d5c1733d (diff)
downloadunit-4d772a9cd0b22baa08d4ef4c8decc7f1608e19af.tar.gz
unit-4d772a9cd0b22baa08d4ef4c8decc7f1608e19af.tar.bz2
Tests: fixed port number in test_basic.t.
Diffstat (limited to '')
-rw-r--r--test/test_basic.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_basic.py b/test/test_basic.py
index 6be3801b..b643ee21 100644
--- a/test/test_basic.py
+++ b/test/test_basic.py
@@ -110,14 +110,14 @@ class TestUnitBasic(unit.TestUnitControl):
self.assertEqual(self.get('/listeners'),
{"*:8081": {"application":"app"}}, 'put listeners prefix')
- self.put('/listeners/*:8080', '{"application":"app"}')
+ self.put('/listeners/*:8082', '{"application":"app"}')
self.assertEqual(self.get('/listeners'),
{
- "*:8080": {
+ "*:8081": {
"application": "app"
},
- "*:8081": {
+ "*:8082": {
"application": "app"
}
},