diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-28 23:47:07 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-30 16:18:55 -0400 |
commit | 081ef137ab4d1325a46a24752b11a60b953c1bb4 (patch) | |
tree | 08a1c08558259a84542a688255443a864b7a7a8a /tests/e2e | |
parent | 7e18c2f4c0cdeb99a807b2f1e8b94f6af99a29c0 (diff) |
[tests] add another demo gateway
Diffstat (limited to 'tests/e2e')
-rwxr-xr-x | tests/e2e/check_ip | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/e2e/check_ip b/tests/e2e/check_ip index f9059063..b915d27e 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() |