Skip to content

Commit

Permalink
Fix QA connect test
Browse files Browse the repository at this point in the history
Signed-off-by: keliramu <ramunas.keliuotis@nordsec.com>
  • Loading branch information
keliramu committed May 9, 2024
1 parent f01613e commit fdfe80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/qa/lib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def get_server_ip() -> str:
"""Returns str with IP Address of the server from `nordvpn status`, that NordVPN client is currently connected to."""
return sh.nordvpn.status().split('\n')[2].replace('IP: ', '')
return sh.nordvpn.status().split('\n')[3].replace('IP: ', '')


def get_current_connection_protocol():
Expand Down

0 comments on commit fdfe80a

Please sign in to comment.