Skip to content

Commit 08bf2f4

Browse files
committed
Remove ipv6 test leftovers
Signed-off-by: Daniel Fetti <[email protected]>
1 parent a7075cb commit 08bf2f4

File tree

6 files changed

+0
-344
lines changed

6 files changed

+0
-344
lines changed

config/manager_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ func TestConfigDefaultValues(t *testing.T) {
159159
assert.False(t, cfg.Mesh)
160160
assert.False(t, cfg.KillSwitch)
161161
assert.Equal(t, test.autoconnect, cfg.AutoConnect)
162-
assert.False(t, cfg.IPv6)
163162
assert.True(t, cfg.VirtualLocation.Get())
164163
})
165164
}

test/qa/lib/__init__.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,12 @@
6363
("nordwhisper", "", ""),
6464
]
6565

66-
# no obfuscated servers with ipv6 2021/05/24
67-
TECHNOLOGIES_WITH_IPV6 = STANDARD_TECHNOLOGIES[:-1]
68-
6966
# Used for test parametrization, when the same test has to be run for different threat protection lite settings.
7067
THREAT_PROTECTION_LITE = [
7168
"on",
7269
"off",
7370
]
7471

75-
IPV6 = [
76-
"on",
77-
"off",
78-
]
79-
8072
# Used for test parametrization, when the same test has to be run for obfuscated technologies.
8173
STANDARD_GROUPS = [
8274
"Africa_The_Middle_East_And_India",
@@ -136,14 +128,6 @@
136128
"Paris",
137129
]
138130

139-
# Used for testing, when specific server is offine.
140-
#
141-
# curl api.nordvpn.com/v1/servers\?limit=6000 -L | jq '[.[] | select((.ips | length) > 1)] | map(.hostname |= rtrimstr(".nordvpn.com")) | map(.hostname)'
142-
IPV6_SERVERS = [
143-
"us9591", "us9592"
144-
]
145-
146-
147131
class Protocol(Enum):
148132
UDP = "UDP"
149133
TCP = "TCP"
@@ -254,13 +238,6 @@ def set_dns(dns):
254238
print("WARNING:", ex)
255239

256240

257-
def set_ipv6(ipv6):
258-
try:
259-
print(sh.nordvpn.set.ipv6(ipv6))
260-
except sh.ErrorReturnCode_1 as ex:
261-
print("WARNING:", ex)
262-
263-
264241
def set_firewall(firewall):
265242
try:
266243
print(sh.nordvpn.set.firewall(firewall))

test/qa/lib/firewall.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def _get_rules_allowlist_subnet_and_port_on(interface: str, subnets: list[str],
289289
return result
290290

291291

292-
# TODO: Add missing IPv6 rules (icmp6 & dhcp6)
293292
def _get_firewall_rules(ports: list[Port] | None = None, subnets: list[str] | None = None) -> list[str]:
294293
# Default route interface
295294
interface = sh.ip.route.show("default").split(None)[4]

test/qa/test_connect6.py

Lines changed: 0 additions & 86 deletions
This file was deleted.

test/qa/test_firewall6.py

Lines changed: 0 additions & 231 deletions
This file was deleted.

0 commit comments

Comments
 (0)