~netlandish/django-wiki

89b8e00e95f50e7cd28e62ecc42d3065ade05fdd — Benjamin Bach 6 years ago 55c5b50 + b502561
Merge pull request #831 from atombrella/tox_django111

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