From 8335bd672f19b171a3fb666c533e675391be911a Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Thu, 26 May 2016 15:36:22 +0500 Subject: [PATCH] Move tools/generate-test-credentials to tools/setup/. --- frontend_tests/run-casper | 2 +- tools/{ => setup}/generate-test-credentials | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename tools/{ => setup}/generate-test-credentials (81%) diff --git a/frontend_tests/run-casper b/frontend_tests/run-casper index 82dc78cfd2..ad1843e379 100755 --- a/frontend_tests/run-casper +++ b/frontend_tests/run-casper @@ -38,7 +38,7 @@ os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..')) subprocess.check_call('tools/generate-fixtures') -subprocess.check_call('tools/generate-test-credentials') +subprocess.check_call('tools/setup/generate-test-credentials') subprocess.check_call(['rm', '-f'] + glob.glob('/tmp/casper-failure*.png')) diff --git a/tools/generate-test-credentials b/tools/setup/generate-test-credentials similarity index 81% rename from tools/generate-test-credentials rename to tools/setup/generate-test-credentials index 61632afb34..1ad4ac76ea 100755 --- a/tools/generate-test-credentials +++ b/tools/setup/generate-test-credentials @@ -1,13 +1,13 @@ #!/usr/bin/env bash set -e -cd "$(dirname "$0")"/.. +cd "$(dirname "$0")"/../.. email=iago@zulip.com password=$(python manage.py print_initial_password "$email" | fgrep "$email" | awk '{ print $2 }') cat > frontend_tests/casper_lib/test_credentials.js <