llama.cpp
llama.cpp copied to clipboard
Fix duplicated .py extension in test command for llama-server
Problem Description
The current test command for the llama-server object in the project has a duplicated file extension, which prevents the test script from correctly locating the test file. The original command was:
./tests.sh unit/test_chat_completion.py.py -v -x
The correct file name should be unit/test_chat_completion.py.
Proposed Solution
This PR corrects the test command by removing the extra .py extension. The updated command is:
./tests.sh unit/test_chat_completion.py -v -x
This fix ensures that the tests are executed as expected without encountering file name errors.
Testing
- Ran the updated command locally to confirm that the test file is correctly found and executed.
- Verified that the change does not affect other parts of the test suite.
Make sure to read the contributing guidelines before submitting a PR