Skip to content

Commit

Permalink
updated test script
Browse files Browse the repository at this point in the history
  • Loading branch information
fullerzz committed Oct 5, 2024
1 parent c13550e commit fc2417c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export AUTH_SECRET_KEY="09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b
export DAILY_UPLOAD_LIMIT_BYTES="50000"
export USERS_LIMIT="20"
export USER_WHITELIST="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20"
export SENTRY_ENABLED="false"
export PYTHONDEVMODE=1

# remove test db if it exists
if [ -f $SMOLVAULT_DB ]; then
Expand All @@ -22,3 +24,5 @@ fi
mkdir uploads

pytest -vvv tests

unset PYTHONDEVMODE

0 comments on commit fc2417c

Please sign in to comment.