diff options
| author | jrwren@xmtp.net <> | 2015-12-02 17:50:09 -0500 |
|---|---|---|
| committer | jrwren@xmtp.net <> | 2015-12-02 17:50:09 -0500 |
| commit | 416e9fae80bb187ee8fce50026ddf3704e76db1f (patch) | |
| tree | 91cf2c5b6b5ad813c48beeb60c8d6ffaab712f5e /tests | |
| parent | efe2a043d5ac133238a655a0354e85dc6612836d (diff) | |
fix lint
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/00_setup.sh | 9 | ||||
| -rwxr-xr-x | tests/03_deploy_replicaset.py | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/00_setup.sh b/tests/00_setup.sh new file mode 100755 index 0000000..4f58709 --- /dev/null +++ b/tests/00_setup.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +sudo apt-get install python-setuptools -y +sudo add-apt-repository ppa:juju/stable -y + +sudo apt-get update +sudo apt-get install amulet python3 python3-requests python3-pymongo juju-core charm-tools python-mock python-pymongo -y diff --git a/tests/03_deploy_replicaset.py b/tests/03_deploy_replicaset.py index 8af50b4..02d25f5 100755 --- a/tests/03_deploy_replicaset.py +++ b/tests/03_deploy_replicaset.py @@ -95,7 +95,7 @@ def validate_replicaset_setup(): 'OperationFailure, sleep and retry... to {}: {}\n'. format(addy, ex)) tb_lines = traceback.format_exception(ex.__class__, - ex, ex.__traceback__) + ex, ex.__traceback__) tb_text = ''.join(tb_lines) sys.stderr.write(tb_text) tries = tries - 1 |
