Temporary agents and chats
This commit is contained in:
1 parent
fe596761dc
commit
e07f8ee05f
15 files changed
+447
-172
No files matched your search
@@ -21,14 +21,15 @@ case "$1" in
|
||||
;;
|
||||
"test")
|
||||
# Setup test data directory
|
||||
mkdir -p test-data
|
||||
rm -f test-data/horde.db
|
||||
data_dir=$(realpath ./test-data)
|
||||
mkdir -p $data_dir
|
||||
rm -rf $data_dir/*
|
||||
|
||||
# Start backend in the background
|
||||
python backend/src/app.py ../test-data &
|
||||
python backend/src/app.py $data_dir &
|
||||
BACKEND_PID=$!
|
||||
echo "Started backend: $BACKEND_PID"
|
||||
sleep 2
|
||||
sleep 5
|
||||
|
||||
# Run tests
|
||||
cd testing
|
||||
|
||||
Reference in new issue
Block a user