From 7bb53c64da2dcf88894bfd31503accdd81498f3d Mon Sep 17 00:00:00 2001 From: Thomas Duval Date: Wed, 3 Jun 2020 10:06:52 +0200 Subject: Update to new version 5.4 Signed-off-by: Thomas Duval Change-Id: Idcd868133d75928a1ffd74d749ce98503e0555ea --- old/tests/python_unit/README.md | 5 +++++ old/tests/python_unit/run_tests.sh | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 old/tests/python_unit/README.md create mode 100644 old/tests/python_unit/run_tests.sh (limited to 'old/tests/python_unit') diff --git a/old/tests/python_unit/README.md b/old/tests/python_unit/README.md new file mode 100644 index 00000000..a399f834 --- /dev/null +++ b/old/tests/python_unit/README.md @@ -0,0 +1,5 @@ +# Python Unit Test + +```bash +bash run_tests.sh +``` diff --git a/old/tests/python_unit/run_tests.sh b/old/tests/python_unit/run_tests.sh new file mode 100644 index 00000000..ab30e523 --- /dev/null +++ b/old/tests/python_unit/run_tests.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +echo "starting Moon Unit Tests" + +cd python_moonutilities +docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest + +cd ../python_moondb +docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest + +cd ../python_moonclient +docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest + +cd ../moon_manager +rm -f tests/unit_python/database.db +docker run --rm --volume $(pwd):/data wukongsun/moon_python_unit_test:latest + -- cgit 1.2.3-korg