From 769a79125d17ded007894464a7151eafbd65f355 Mon Sep 17 00:00:00 2001 From: ebo Date: Mon, 9 Mar 2020 15:42:08 +0000 Subject: 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 --- test/mocks/netconf-pnp-simulator/engine/tests/settings.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/mocks/netconf-pnp-simulator/engine/tests/settings.py (limited to 'test/mocks/netconf-pnp-simulator/engine/tests/settings.py') 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 -- cgit 1.2.3-korg