~netlandish/django-wiki

b5025617a00385ae4170da0d05fe72624d6babaf — Mads Jensen 6 years ago 2a1745c
Use --check option to check for test project's migrations.
1 files changed, 1 insertions(+), 3 deletions(-)

M tox.ini
M tox.ini => tox.ini +1 -3
@@ 26,9 26,7 @@ passenv =
  SELENIUM_SHOW_BROWSER

commands =
  # Test that there are no migrations needed -- on Django 1.11, we can
  # use --check and remove the '!' which likely doesn't work on Windows
  sh -c '! testproject/manage.py makemigrations --dry-run --exit --noinput'
  sh -c 'testproject/manage.py makemigrations --check'
  pytest --basetemp={envtmpdir} --ds=tests.settings --cov={envsitepackagesdir}/wiki --cov-config .coveragerc {posargs}

usedevelop = false