Commit 26922382 by Jesse Zoldak

[fixup] [no-ci]

parent f6de951f
......@@ -4,7 +4,6 @@ Tests for the Paver commands for updating test databases
from unittest import TestCase
import boto
from mock import patch
from common.test.utils import MockS3Mixin
from pavelib.database import is_fingerprint_in_bucket
......
......@@ -34,6 +34,8 @@ for db in "${database_order[@]}"; do
echo "Calculating migrations."
output_file="common/test/db_cache/bok_choy_${db}_migrations.yaml"
./manage.py lms --settings $SETTINGS show_unapplied_migrations --database $db --output_file $output_file
# Redirect stdout to /dev/null because it prints all migrations to both
# stdout and the output file.
./manage.py lms --settings $SETTINGS show_unapplied_migrations --database $db --output_file $output_file 1>/dev/null
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment