Add new test for management commands running with --help.

This test caught a few bugs where refactoring had made management
commands fail (and would have caught a few more recent ones).

Ideally we'd replace this with a more advanced test that actually
tests that the management command do something useful, but it's a
start.
This commit is contained in:
Tim Abbott
2015-11-09 21:56:08 -08:00
parent 16ae985807
commit 9d75fd33d9
3 changed files with 21 additions and 0 deletions

View File

@@ -18,5 +18,7 @@ run ./tools/lint-all
run ./tools/test-js-with-node
run ./tools/test-backend
run ./tools/test-js-with-casper
# Not running management test since it takes 40s and thus is too slow to be worth it.
# run ./tools/test-management
printf '\n\e[32mAll OK!\e[0m\n'