diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-22 16:38:13 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-30 16:17:56 -0400 |
commit | 49a421188febe06e66412260a828b92a543fbe99 (patch) | |
tree | d9389cface18ad2927186f9210e648711c3052a9 /tests | |
parent | 46eff942e4e3b3c7ddbecd170dd7d5078b8debc0 (diff) |
[refactor] integrate new management protocol
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/e2e/check_ip | 2 | ||||
-rw-r--r-- | tests/unit/vpn/test_management.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/e2e/check_ip b/tests/e2e/check_ip index 8c12f250..8a45f2c5 100755 --- a/tests/e2e/check_ip +++ b/tests/e2e/check_ip @@ -4,7 +4,7 @@ import urllib.request import json import sys -DEMO_ISP = 'Riseup Networks' +DEMO_ISPS = ('Riseup Networks', '') url = 'https://wtfismyip.com/json' diff --git a/tests/unit/vpn/test_management.py b/tests/unit/vpn/test_management.py index c70d768b..4066ab61 100644 --- a/tests/unit/vpn/test_management.py +++ b/tests/unit/vpn/test_management.py @@ -93,7 +93,7 @@ class ManagementTestCase(unittest.TestCase): proto = ManagementProtocol() proto.transport = StringIO.StringIO() assert proto.pid == None - proto.get_pid() + proto.getPid() pid_lines = ['SUCCESS: pid=99999'] feed_the_protocol(proto, pid_lines) assert proto.pid == 99999 |