Add check_migrations() to tools/diagnose script.

This commit is contained in:
Steve Howell 2017-01-03 11:25:13 -08:00 committed by showell
parent cd16a26c9a
commit 7029917129
1 changed files with 7 additions and 0 deletions

View File

@ -99,3 +99,10 @@ def check_venv():
print('Your venv may be improperly installed!')
return False
return True
@run
def check_migrations():
# type: () -> bool
print()
rc = subprocess.check_call('./tools/test-migrations')
return (rc == 0)