From 7029917129cdaca5248e03516cb236b5296d868a Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Tue, 3 Jan 2017 11:25:13 -0800 Subject: [PATCH] Add check_migrations() to tools/diagnose script. --- tools/diagnose | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/diagnose b/tools/diagnose index 08d6729d23..ce2bd79dac 100755 --- a/tools/diagnose +++ b/tools/diagnose @@ -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)