aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
diff options
context:
space:
mode:
authorebo <eliezio.oliveira@est.tech>2020-03-09 15:42:08 +0000
committerMarco Platania <platania@research.att.com>2020-03-11 21:06:13 +0000
commit769a79125d17ded007894464a7151eafbd65f355 (patch)
treec5a40275f7b7eba8f3bd1e9665ac0ba461209912 /test/mocks/netconf-pnp-simulator/engine/tests/settings.py
parentc27713e8c8b5467e8e900f7020227de366c67014 (diff)
netconf-pnp-simulator: make PYTHONPATH always globally defined
Add IT using ncclient and tox Issue-ID: INT-1124 Change-Id: I560d4fd2468ac93f8ead36062b2e316821af8d07 Signed-off-by: ebo <eliezio.oliveira@est.tech>
Diffstat (limited to 'test/mocks/netconf-pnp-simulator/engine/tests/settings.py')
-rw-r--r--test/mocks/netconf-pnp-simulator/engine/tests/settings.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/mocks/netconf-pnp-simulator/engine/tests/settings.py b/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
new file mode 100644
index 000000000..749eb4cfd
--- /dev/null
+++ b/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
@@ -0,0 +1,11 @@
+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"])
+USERNAME = "netconf"
+KEY_FILENAME = "../config/ssh/id_rsa"
+
+DEBUG = False