-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_modules.bat
More file actions
27 lines (25 loc) · 812 Bytes
/
Copy pathtest_modules.bat
File metadata and controls
27 lines (25 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
echo Testing Python modules...
echo.
REM Check syntax compilation
echo Checking syntax compilation...
python -m py_compile models/audio_processing.py models/text_processing.py models/note_management.py models/rag_llm.py models/model_setup.py models/utils.py
if %errorlevel% neq 0 (
echo Syntax compilation failed!
pause
exit /b 1
)
echo Syntax compilation successful!
echo.
REM Test imports
echo Testing imports...
python -c "import models.audio_processing; import models.text_processing; import models.note_management; import models.rag_llm; import models.model_setup; import models.utils; print('All imports successful!')"
if %errorlevel% neq 0 (
echo Import test failed!
pause
exit /b 1
)
echo Import test successful!
echo.
echo All tests passed! Ready to run main.py
pause