add unit tests

This commit is contained in:
ading2210 2024-01-31 21:38:57 +00:00
parent b071019761
commit 2d98b82ee3
9 changed files with 147 additions and 2 deletions

11
client/tests/run.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
trap "exit" INT TERM
trap "kill 0" EXIT
STATIC="$(pwd)" python3 ../server/wisp_server/main.py >/dev/null &
sleep 1
echo "Running tests"
python3 tests/run_tests.py