Spaces:
Build error
Build error
|
Download docs/testing.md from LolorzoloL/AutoGPTWeb: direct link, hf CLI and curl.
- Browser
- Download file 836 Bytes
-
https://huggingface.co/spaces/LolorzoloL/AutoGPTWeb/resolve/main/docs/testing.md
- Command line
-
hf download hf://spaces/LolorzoloL/AutoGPTWeb/docs/testing.md
-
curl -L -o testing.md https://huggingface.co/spaces/LolorzoloL/AutoGPTWeb/resolve/main/docs/testing.md
836 Bytes
A newer version of the Gradio SDK is available: 6.30.0
Running tests
To run all tests, use the following command:
pytest
If pytest is not found:
python -m pytest
Running specific test suites
To run without integration tests:
:::shell pytest --without-integrationTo run without slow integration tests:
:::shell pytest --without-slow-integrationTo run tests and see coverage:
:::shell pytest --cov=autogpt --without-integration --without-slow-integration
Running the linter
This project uses flake8 for linting.
We currently use the following rules: E303,W293,W291,W292,E305,E231,E302.
See the flake8 rules for more information.
To run the linter:
flake8 .
Or:
python -m flake8 .