summaryrefslogtreecommitdiffhomepage
path: root/test/test_njs_modules.py
diff options
context:
space:
mode:
authorDan Callahan <d.callahan@f5.com>2024-02-27 15:15:42 +0000
committerDan Callahan <d.callahan@f5.com>2024-02-27 15:15:42 +0000
commitd76761901c4084bcdbc5a449e9bbb47d56b7093c (patch)
treeb4b7b4e3d588b73a2adcc0094cab466d9194c679 /test/test_njs_modules.py
parentc43629880472bba8d389dfb0b7ae6d883b0ba499 (diff)
parent088117008c9e8f397a58cc8d8070ce047beff12f (diff)
downloadunit-d76761901c4084bcdbc5a449e9bbb47d56b7093c.tar.gz
unit-d76761901c4084bcdbc5a449e9bbb47d56b7093c.tar.bz2
Merge tag '1.32.0' into branches/packaging1.32.0-1
Unit 1.32.0 release.
Diffstat (limited to 'test/test_njs_modules.py')
-rw-r--r--test/test_njs_modules.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_njs_modules.py b/test/test_njs_modules.py
index d821d455..a639fabd 100644
--- a/test/test_njs_modules.py
+++ b/test/test_njs_modules.py
@@ -23,7 +23,7 @@ def test_njs_modules():
assert 'success' in client.conf(
{
"settings": {"js_module": "next"},
- "listeners": {"*:7080": {"pass": "routes/first"}},
+ "listeners": {"*:8080": {"pass": "routes/first"}},
"routes": {
"first": [{"action": {"pass": "`routes/${next.route()}`"}}],
"next": [{"action": {"return": 200}}],
@@ -68,7 +68,7 @@ def test_njs_modules_import():
assert 'success' in client.conf(
{
"settings": {"js_module": "import_from"},
- "listeners": {"*:7080": {"pass": "routes/first"}},
+ "listeners": {"*:8080": {"pass": "routes/first"}},
"routes": {
"first": [
{"action": {"pass": "`routes/${import_from.num()}`"}}
@@ -86,7 +86,7 @@ def test_njs_modules_this():
assert 'success' in client.conf(
{
"settings": {"js_module": "global_this"},
- "listeners": {"*:7080": {"pass": "routes/first"}},
+ "listeners": {"*:8080": {"pass": "routes/first"}},
"routes": {
"first": [
{"action": {"pass": "`routes/${global_this.str()}`"}}