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:
147147pip install .
148148```
149149
150- Or install the plugin dependencies manually:
151-
152- ```
153- pip install -r requirements/main.txt
154- ```
155-
156150## <a name =" configuration " ></a >Configuration
157151
158152### <a name =" conftest-setup " ></a >Conftest setup
@@ -421,19 +415,14 @@ def test_transaction_doesnt_persist(db_engine):
421415
422416## <a name =" running-the-tests " ></a >Running the tests
423417
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:
431420
432421```
433- pip install -e .
422+ pip install -e .[tests]
434423```
435424
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 )
437426that the tests can use (the database referenced by the string will be created
438427during test setup, so it does not need to exist):
439428
You can’t perform that action at this time.
0 commit comments