summaryrefslogtreecommitdiffhomepage
path: root/test/test_variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_variables.py')
-rw-r--r--test/test_variables.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_variables.py b/test/test_variables.py
index 813bd8c6..0b7b9ea8 100644
--- a/test/test_variables.py
+++ b/test/test_variables.py
@@ -16,7 +16,7 @@ client_python = ApplicationPython()
def setup_method_fixture():
assert 'success' in client.conf(
{
- "listeners": {"*:7080": {"pass": "routes"}},
+ "listeners": {"*:8080": {"pass": "routes"}},
"routes": [{"action": {"return": 200}}],
},
), 'configure routes'
@@ -132,7 +132,7 @@ def test_variables_uri_no_cache(temp_dir):
assert 'success' in client.conf(
{
- "listeners": {"*:7080": {"pass": "routes"}},
+ "listeners": {"*:8080": {"pass": "routes"}},
"routes": [
{
"action": {
@@ -163,7 +163,7 @@ def test_variables_host(search_in_file, wait_for_record):
check_host('localhost')
check_host('localhost1.', 'localhost1')
- check_host('localhost2:7080', 'localhost2')
+ check_host('localhost2:8080', 'localhost2')
check_host('.localhost')
check_host('www.localhost')
@@ -175,7 +175,7 @@ def test_variables_remote_addr(search_in_file, wait_for_record):
assert wait_for_record(r'^127\.0\.0\.1$', 'access.log') is not None
assert 'success' in client.conf(
- {"[::1]:7080": {"pass": "routes"}}, 'listeners'
+ {"[::1]:8080": {"pass": "routes"}}, 'listeners'
)
reg = r'^::1$'
@@ -447,7 +447,7 @@ def test_variables_response_header(temp_dir, wait_for_record):
assert 'success' in client.conf(
{
- "listeners": {"*:7080": {"pass": "routes"}},
+ "listeners": {"*:8080": {"pass": "routes"}},
"routes": [
{
"action": {