aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks/netconf-pnp-simulator')
-rw-r--r--test/mocks/netconf-pnp-simulator/engine/tests/settings.py4
-rw-r--r--test/mocks/netconf-pnp-simulator/engine/tox.ini2
2 files changed, 2 insertions, 4 deletions
diff --git a/test/mocks/netconf-pnp-simulator/engine/tests/settings.py b/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
index 749eb4cfd..716fdb7a2 100644
--- a/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
+++ b/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
@@ -2,9 +2,7 @@ import os
HOST = "127.0.0.1"
# Set by tox-docker
-# Unexpectedly, tox-docker uses the repository prefix instead of the image name to define the
-# variable prefix.
-PORT = int(os.environ["LOCALHOST_830_TCP_PORT"])
+PORT = int(os.environ["NETCONF_PNP_SIMULATOR_830_TCP_PORT"])
USERNAME = "netconf"
KEY_FILENAME = "../config/ssh/id_rsa"
diff --git a/test/mocks/netconf-pnp-simulator/engine/tox.ini b/test/mocks/netconf-pnp-simulator/engine/tox.ini
index c4ca5fbdb..4b0ac1efe 100644
--- a/test/mocks/netconf-pnp-simulator/engine/tox.ini
+++ b/test/mocks/netconf-pnp-simulator/engine/tox.ini
@@ -24,7 +24,7 @@ skipsdist = True
[testenv]
changedir = tests
docker =
- {env:CONTAINER_PUSH_REGISTRY}/{env:DOCKER_NAME}:{env:DOCKER_IMAGE_TAG}
+ netconf-pnp-simulator:latest
deps =
ncclient