Added HTTPS functional tests

This commit is contained in:
sneakypete81 2013-09-01 18:10:24 +01:00
parent 037a492deb
commit ec648ea753
2 changed files with 14 additions and 4 deletions

View file

@ -42,3 +42,12 @@ export TROVEBOX_TEST_CONFIG=test-hosted
unset TROVEBOX_TEST_SERVER_API unset TROVEBOX_TEST_SERVER_API
python -m unittest discover --catch tests/functional python -m unittest discover --catch tests/functional
# Test account on hosted trovebox.com site over HTTPS
tput setaf 3
echo
echo "Testing latest hosted site over HTTPS..."
tput sgr0
export TROVEBOX_TEST_CONFIG=test-hosted-https
unset TROVEBOX_TEST_SERVER_API
python -m unittest discover --catch tests/functional

View file

@ -99,7 +99,8 @@ all supported API versions.
To use it, you must set up multiple Trovebox instances and create the following To use it, you must set up multiple Trovebox instances and create the following
config files containing your credentials: config files containing your credentials:
test : Latest self-hosted site (from photo/frontend master branch) test : Latest self-hosted site (from photo/frontend master branch)
test-apiv1 : APIv1 self-hosted site (from photo/frontend commit 660b2ab) test-apiv1 : APIv1 self-hosted site (from photo/frontend commit 660b2ab)
test-3.0.8 : v3.0.8 self-hosted site (from photo/frontend commit e9d81de57b) test-3.0.8 : v3.0.8 self-hosted site (from photo/frontend commit e9d81de57b)
test-hosted : Credentials for test account on trovebox.com test-hosted : Credentials for test account on http://<xxxx>.trovebox.com
test-hosted-https : Same as test-hosted, but with https://