From b5025617a00385ae4170da0d05fe72624d6babaf Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Sat, 24 Feb 2018 12:54:34 +0100 Subject: [PATCH] Use --check option to check for test project's migrations. --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index d3b6e826..a9ed374d 100644 --- a/tox.ini +++ b/tox.ini @@ -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 -- 2.45.2