summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-03-12 20:37:57 +0900
committerRyo Nakamura <upa@haeena.net>2023-03-12 20:37:57 +0900
commite2da5811ce2c9006ecb4319d8b1c40128ac2ff67 (patch)
tree537e53bd38af01766c250bfdb0c48bd0dd722d29 /scripts
parent597a7a8cbae48a4f1026d6970e78b43b157bc70b (diff)
test: add test_python.py for testing python-mscp
Dockerfiles also adapt themselvs for testing python-mscp bindings.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test-in-container.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh
index 49891c7..1e003b3 100755
--- a/scripts/test-in-container.sh
+++ b/scripts/test-in-container.sh
@@ -13,5 +13,7 @@ if [ ! -e /var/run/sshd.pid ]; then
/usr/sbin/sshd
fi
+ssh-keyscan localhost >> ${HOME}/.ssh/known_hosts
+
# Run test
python3 -m pytest ../test -v