Skip to content

Commit

Permalink
Remove default xdist argument to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
axnsan12 committed Dec 12, 2018
1 parent 543a1ad commit acfb0c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ You want to contribute some code? Great! Here are a few steps to get you started
# install test dependencies
(venv) $ pip install -U -r requirements/test.txt
# run tests in the current environment, faster than tox
(venv) $ pytest --cov
(venv) $ pytest -n auto --cov
# (optional) run tests for other python versions in separate environments
(venv) $ tox
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ deps =
-rrequirements/test.txt

commands =
pytest --cov --cov-config .coveragerc --cov-append --cov-report="" {posargs}
pytest -n 2 --cov --cov-config .coveragerc --cov-append --cov-report="" {posargs}

[testenv:lint]
skip_install = true
Expand All @@ -46,7 +46,7 @@ commands =
[pytest]
DJANGO_SETTINGS_MODULE = testproj.settings.local
python_paths = testproj
addopts = -n 2 --ignore=node_modules
addopts = --ignore=node_modules

[flake8]
max-line-length = 120
Expand Down

0 comments on commit acfb0c5

Please sign in to comment.