Skip to content

Commit 3058eb9

Browse files
mariusSincovicikeliramu
authored andcommitted
fix lint
Signed-off-by: Marius Sincovici <[email protected]>
1 parent 7ea98af commit 3058eb9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/qa/lib/notify.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ def connect_and_capture_notifications(tech, proto, obfuscated) -> NotificationCa
6464
"""Returns [True, True, True] if notification with all expected contents from NordVPN was captured while connecting to VPN server."""
6565

6666
# Choose server for test, so we know the full expected message
67-
6867
server_info = server.get_hostname_by(tech, proto, obfuscated)
6968
expected_msg = f"You are connected to {server_info.name} ({server_info.hostname})!"
7069

test/qa/lib/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import requests
66

7+
78
class ServerInfo:
89
def __init__(self, server_info):
910
self.name = server_info["name"]
@@ -12,7 +13,6 @@ def __init__(self, server_info):
1213
self.country = server_info["locations"][0]["country"]["name"]
1314

1415

15-
1616
def get_hostname_by(technology="", protocol="", obfuscated="", group_id=""):
1717
"""Returns server name and hostname from core API."""
1818
tech_id = ""
@@ -46,7 +46,7 @@ def get_hostname_by(technology="", protocol="", obfuscated="", group_id=""):
4646
"Europe": "19",
4747
"The_Americas": "21",
4848
"Asia_Pacific": "23",
49-
"Africa_The_Middle_East_And_India": "25"
49+
"Africa_The_Middle_East_And_India": "25",
5050
}
5151

5252
if group_id != "":

0 commit comments

Comments
 (0)