mirror of
https://github.com/TheR1D/shell_gpt.git
synced 2026-07-03 14:10:18 +02:00
Improved tests with mocked API responses (#442)
* Changed name of --top-probability parameter to --top-p. * Fixed bug in --repl --shell when describing shell command.
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
run: ruff sgpt tests scripts
|
||||
# - name: mypy
|
||||
# run: mypy sgpt --exclude function.py --exclude handler.py --exclude default_functions
|
||||
- name: unittests
|
||||
- name: tests
|
||||
run: |
|
||||
export OPENAI_API_KEY=test_api_key
|
||||
pytest tests/test_unit.py
|
||||
pytest tests/ -p no:warnings
|
||||
|
||||
Reference in New Issue
Block a user