mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-01-25 15:22:43 +00:00
Currently sentry-admin.sh script saves the output of the command to a separate variable. This makes the command "freeze" if it requires any input from the user (like sentry-admin.sh restore). The change should provide the output directly to the shell. Also changed contributing.md as it seemed outdated and updated requirements-dev.txt with the missing `cryptography` package. Co-authored-by: Daniil Makhonia <daniil.makhonia@booking.com>
14 lines
278 B
Markdown
14 lines
278 B
Markdown
## Testing
|
|
|
|
### Running Tests with Pytest
|
|
|
|
We use pytest for running tests. To run the tests:
|
|
|
|
1) Ensure that you are in the root directory of the project.
|
|
2) Run the following command:
|
|
```bash
|
|
pytest
|
|
```
|
|
|
|
This will automatically discover and run all test cases in the project.
|