mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
fixing typo in documentation pytest -> poetry
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|
||||||
1. Make sure you've installed the dev dependencies with `pytest install --with dev`
|
1. Make sure you've installed the dev dependencies with `poetry install --with dev`
|
||||||
2. Tests can be run as follows:
|
2. Tests can be run as follows:
|
||||||
```{code} bash
|
```{code} bash
|
||||||
#### Command prefix of 'poetry run' removed here for simplicity
|
#### Command prefix of 'poetry run' removed here for simplicity
|
||||||
@@ -29,4 +29,4 @@ pytest -ra -v tests/test_file.py::test_function_name
|
|||||||
3. Some tests require environment variables to be set. You can use the example `.env.test.example` file as a template. Copy it to `.env.test` and fill in the required values. This file will be loaded automatically by `pytest`.
|
3. Some tests require environment variables to be set. You can use the example `.env.test.example` file as a template. Copy it to `.env.test` and fill in the required values. This file will be loaded automatically by `pytest`.
|
||||||
```{code} bash
|
```{code} bash
|
||||||
cp .env.test.example .env.test
|
cp .env.test.example .env.test
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user