summaryrefslogtreecommitdiff
path: root/tests/e2e/check_ip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e2e/check_ip')
-rwxr-xr-xtests/e2e/check_ip5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/e2e/check_ip b/tests/e2e/check_ip
index f905906..b915d27 100755
--- a/tests/e2e/check_ip
+++ b/tests/e2e/check_ip
@@ -4,7 +4,8 @@ import urllib.request
import json
import sys
-DEMO_ISPS = ('Riseup Networks',)
+DEMO_ISPS = ('Riseup Networks',
+ 'Leaseweb Deutschland GmbH')
url = 'https://ipapi.co/json'
@@ -26,8 +27,10 @@ try:
cmd = sys.argv[1]
if cmd == 'vpn_on':
+ print('checking VPN ON...')
assert isp in DEMO_ISPS
elif cmd == 'vpn_off':
+ print('checking VPN OFF...')
assert isp not in DEMO_ISPS
else:
raise BadCmd()