Skip to content

Commit

Permalink
add slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Gummelt committed Sep 15, 2016
1 parent 3b25c73 commit ff5dbd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ run_tests() {
AWS_SECRET_ACCESS_KEY=${DEV_AWS_SECRET_ACCESS_KEY} \
S3_BUCKET=${DEV_S3_BUCKET} \
S3_PREFIX=${DEV_S3_PREFIX} \
TEST_JAR_PATH=${TEST_JAR_PATH} \
python test.py
popd
}
Expand Down
3 changes: 2 additions & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# AWS_SECRET_ACCESS_KEY
# S3_BUCKET
# S3_PREFIX
# TEST_JAR_PATH

from boto.s3.connection import S3Connection
from boto.s3.key import Key
Expand All @@ -22,7 +23,7 @@ def upload_jar(jar):

basename = os.path.basename(jar)

jar_url = "http://{0}.s3.amazonaws.com/{1}{2}".format(
jar_url = "http://{0}.s3.amazonaws.com/{1}/{2}".format(
os.environ['S3_BUCKET'],
os.environ['S3_PREFIX'],
basename)
Expand Down

0 comments on commit ff5dbd5

Please sign in to comment.