trove/tools/start-fake-mode.sh
Julien Danjou 414507227e Remove Python 2.6 classifier
Trove does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.

Change-Id: Ida17ce3ce76258442222b591846e1e1717119eed
2014-12-02 09:57:52 +01:00

19 lines
379 B
Bash
Executable File

#!/usr/bin/env bash
# Arguments: Use --pid_file to specify a pid file location.
if [ ! -d ".tox/py27" ]; then
tox -epy27
fi
function run() {
.tox/py27/bin/python $@
}
run bin/trove-manage \
--config-file=etc/trove/trove.conf.test db_recreate \
trove_test.sqlite mysql fake
run bin/trove-fake-mode \
--fork --config-file=etc/trove/trove.conf.test \
$@