From f50014b1b4f0246ba2d3b83e0695e2616641a5e1 Mon Sep 17 00:00:00 2001 From: Kevin F Date: Tue, 17 Jan 2023 17:53:51 -0600 Subject: [PATCH] Cleanup some tests --- run_tests.sh | 7 ------- tests/default-plugin-tests/wot/test_identity_init.py | 5 +++-- tests/runtime-result.txt | 1 - 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 tests/runtime-result.txt diff --git a/run_tests.sh b/run_tests.sh index d019019d..b8edc4d9 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -27,10 +27,3 @@ done echo "ran $ran integration tests." echo "total test time $SECONDS" ran=0; - -#for f in tests/browser-tests/*.py; do -# python3 "$f" || close # if needed -# let "ran++" -#done -#echo "ran $ran browser tests." -#echo "total test time $SECONDS" diff --git a/tests/default-plugin-tests/wot/test_identity_init.py b/tests/default-plugin-tests/wot/test_identity_init.py index 16b316e4..72c99d6d 100644 --- a/tests/default-plugin-tests/wot/test_identity_init.py +++ b/tests/default-plugin-tests/wot/test_identity_init.py @@ -11,9 +11,10 @@ os.environ["ONIONR_HOME"] = TEST_DIR import unittest import sys sys.path.append(".") -sys.path.append('static-data/official-plugins/wot/wot/') +sys.path.append('static-data/official-plugins/wot/') sys.path.append("src/") -from identity import Identity +import wot +from wot.identity import Identity diff --git a/tests/runtime-result.txt b/tests/runtime-result.txt deleted file mode 100644 index 5b6a44e2..00000000 --- a/tests/runtime-result.txt +++ /dev/null @@ -1 +0,0 @@ -1611429331 \ No newline at end of file