summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-22 08:09:20 +0200
committerGitHub <noreply@github.com>2023-11-22 08:09:20 +0200
commit756bd6d45ab76cca7155fb76a0d3c8e4dbe6d517 (patch)
tree9072da20295d86482d94a864f961e57a869cfd56 /smoketest/scripts
parentd908073cac14539ba54665715ab84a5bf40662ad (diff)
parent92a75196e5a0d9568905f1c990a080cc4e1e0ea9 (diff)
downloadvyos-1x-756bd6d45ab76cca7155fb76a0d3c8e4dbe6d517.tar.gz
vyos-1x-756bd6d45ab76cca7155fb76a0d3c8e4dbe6d517.zip
Merge pull request #2523 from vyos/mergify/bp/sagitta/pr-2519
http: T5762: rename "virtual-host listen-port" -> "virtual-host port" (backport #2519)
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_service_https.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_service_https.py b/smoketest/scripts/cli/test_service_https.py
index 4da85fadf..901a1857e 100755
--- a/smoketest/scripts/cli/test_service_https.py
+++ b/smoketest/scripts/cli/test_service_https.py
@@ -81,7 +81,7 @@ class TestHTTPSService(VyOSUnitTestSHIM.TestCase):
test_path = base_path + ['virtual-host', vhost_id]
self.cli_set(test_path + ['listen-address', address])
- self.cli_set(test_path + ['listen-port', port])
+ self.cli_set(test_path + ['port', port])
self.cli_set(test_path + ['server-name', name])
self.cli_commit()
@@ -102,7 +102,7 @@ class TestHTTPSService(VyOSUnitTestSHIM.TestCase):
def test_api_auth(self):
vhost_id = 'example'
address = '127.0.0.1'
- port = '443'
+ port = '443' # default value
name = 'localhost'
key = 'MySuperSecretVyOS'
@@ -110,7 +110,6 @@ class TestHTTPSService(VyOSUnitTestSHIM.TestCase):
test_path = base_path + ['virtual-host', vhost_id]
self.cli_set(test_path + ['listen-address', address])
- self.cli_set(test_path + ['listen-port', port])
self.cli_set(test_path + ['server-name', name])
self.cli_commit()