mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-10 01:00:55 +08:00
Merge pull request #358 from vkaracic/readme-test
Fix test section format in readme
This commit is contained in:
+2
-5
@@ -196,7 +196,8 @@ To run the tests you will need the following in addition to install requirements
|
|||||||
|
|
||||||
The following commands can be used to run the tests:
|
The following commands can be used to run the tests:
|
||||||
|
|
||||||
```
|
.. code:: bash
|
||||||
|
|
||||||
# Create virtual environment
|
# Create virtual environment
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
||||||
@@ -209,7 +210,6 @@ venv/bin/pip install pytest pytest-django
|
|||||||
# Install django-q
|
# Install django-q
|
||||||
venv/bin/python setup.py develop
|
venv/bin/python setup.py develop
|
||||||
|
|
||||||
|
|
||||||
# Run required services (you need to have docker-compose installed)
|
# Run required services (you need to have docker-compose installed)
|
||||||
docker-compose -f test-services-docker-compose.yaml up -d
|
docker-compose -f test-services-docker-compose.yaml up -d
|
||||||
|
|
||||||
@@ -219,9 +219,6 @@ venv/bin/pytest
|
|||||||
# Stop the services required by tests (when you no longer plan to run tests)
|
# Stop the services required by tests (when you no longer plan to run tests)
|
||||||
docker-compose -f test-services-docker-compose.yaml down
|
docker-compose -f test-services-docker-compose.yaml down
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
Locale
|
Locale
|
||||||
~~~~~~
|
~~~~~~
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user