Skip to content

Commit 0c20b1f

Browse files
authored
Fix pytest_plugins usage example
1 parent b7fea00 commit 0c20b1f

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,21 +189,13 @@ In your project’s **`conftest.py`** (e.g. `tests/conftest.py`), register the p
189189
pytest_plugins = ["aidbox_python_sdk.pytest_plugin"]
190190
```
191191

192-
Alternatively you can configure it in **`pyproject.toml`**:
193-
194-
```toml
195-
[tool.pytest.ini_options]
196-
pytest_plugins = ["aidbox_python_sdk.pytest_plugin"]
197-
```
198-
199192
### Configuring the app factory
200193

201194
The plugin needs your app factory (the callable that returns the `web.Application`). You can set it in pytest ini:
202195

203196
**`pyproject.toml`**
204197
```toml
205198
[tool.pytest.ini_options]
206-
pytest_plugins = ["aidbox_python_sdk.pytest_plugin"]
207199
aidbox_create_app = "main:create_app"
208200
```
209201

0 commit comments

Comments
 (0)