File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,6 @@ You can install using pip:
147
147
pip install .
148
148
```
149
149
150
- Or install the plugin dependencies manually:
151
-
152
- ```
153
- pip install -r requirements/main.txt
154
- ```
155
-
156
150
## <a name =" configuration " ></a >Configuration
157
151
158
152
### <a name =" conftest-setup " ></a >Conftest setup
@@ -421,19 +415,14 @@ def test_transaction_doesnt_persist(db_engine):
421
415
422
416
## <a name =" running-the-tests " ></a >Running the tests
423
417
424
- Start by ensuring that all test requirements are installed:
425
-
426
- ```
427
- pip install -U -r requirements/main.txt -r requirements/tests.txt
428
- ```
429
-
430
- Next, install a development version of the plugin:
418
+ To run the tests, start by installing a development version of the plugin that
419
+ includes test dependencies:
431
420
432
421
```
433
- pip install -e .
422
+ pip install -e .[tests]
434
423
```
435
424
436
- Export a [ database connection string] ( http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls )
425
+ Next, export a [ database connection string] ( http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls )
437
426
that the tests can use (the database referenced by the string will be created
438
427
during test setup, so it does not need to exist):
439
428
You can’t perform that action at this time.
0 commit comments