#!/usr/bin/env bash set -e set -x export DJANGO_SETTINGS_MODULE=zproject.test_settings create_zulip_test() { psql -v ON_ERROR_STOP=1 -h localhost postgres zulip_test <zerver/tests/fixtures/messages.json # create pristine template database, for fast fixture restoration after tests are run. create_zulip_test_template