summaryrefslogtreecommitdiffstats
path: root/ms/py-executor/resource_resolution
diff options
context:
space:
mode:
Diffstat (limited to 'ms/py-executor/resource_resolution')
-rw-r--r--ms/py-executor/resource_resolution/README.md4
-rw-r--r--ms/py-executor/resource_resolution/tests/http_client_test.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/ms/py-executor/resource_resolution/README.md b/ms/py-executor/resource_resolution/README.md
index 3920338ae..275073583 100644
--- a/ms/py-executor/resource_resolution/README.md
+++ b/ms/py-executor/resource_resolution/README.md
@@ -150,7 +150,7 @@ from resource_resolution.resource_resolution import ResourceResolution
if __name__ == "__main__":
# If you want to use only HTTP you don't have to use context manager
r = ResourceResolution(
- http_server_port=8081,
+ http_server_port=8080,
http_auth_user="ccsdkapps",
http_auth_pass="ccsdkapps",
http_use_tls=False
@@ -177,4 +177,4 @@ if __name__ == "__main__":
resolution_key="test",
)
assert another_template.result == "another_value"
-``` \ No newline at end of file
+```
diff --git a/ms/py-executor/resource_resolution/tests/http_client_test.py b/ms/py-executor/resource_resolution/tests/http_client_test.py
index 2279fde7a..2c38457df 100644
--- a/ms/py-executor/resource_resolution/tests/http_client_test.py
+++ b/ms/py-executor/resource_resolution/tests/http_client_test.py
@@ -30,9 +30,9 @@ def test_http_client(request_mock):
assert c.protocol == "http"
assert c.url == "http://127.0.0.1:8080/api/v1"
- c = Client("127.0.0.1", 8081, use_ssl=True)
+ c = Client("127.0.0.1", 8080, use_ssl=True)
assert c.protocol == "https"
- assert c.url == "https://127.0.0.1:8081/api/v1"
+ assert c.url == "https://127.0.0.1:8080/api/v1"
c.send_request("GET", "something")
request_mock.assert_called_once_with(method="GET", url=f"{c.url}/something", verify=False, auth=None)