Sfoglia il codice sorgente

Updated test_backend.sh
- Skip FTP tests by default
- Added option --full to include FTP tests

maziggy 7 mesi fa
parent
commit
d02a9d8e36
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      test_backend.sh

+ 6 - 1
test_backend.sh

@@ -2,5 +2,10 @@
 
 cd backend
 ruff check && ruff format --check
-../venv/bin/python3 -m pytest tests/ -v -n 14
+
+if [ "$1" = "--full" ]; then
+  ../venv/bin/python3 -m pytest tests/ -v -n 14
+else
+  ../venv/bin/python3 -m pytest tests/ -v -n 14 --ignore=tests/unit/services/test_bambu_ftp.py
+fi
 cd ..