diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-02-02 10:14:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:14:35 +0200 |
commit | f2de4378b5048fb4fc3a493aa2a214a320dd8d48 (patch) | |
tree | c4c389afdc2c14a515bffadfdecf3b691625b928 /smoketest/scripts/cli/test_vpn_pptp.py | |
parent | 0307801b8928bbaaa20caf5bd10b928bae459490 (diff) | |
parent | d9e57fe65dd538c6ea80637f4f6f23cf11dc583d (diff) | |
download | vyos-1x-f2de4378b5048fb4fc3a493aa2a214a320dd8d48.tar.gz vyos-1x-f2de4378b5048fb4fc3a493aa2a214a320dd8d48.zip |
Merge pull request #2891 from aapostoliuk/T5971-circinus
T5971: Rewritten ppp options in accel-ppp services
Diffstat (limited to 'smoketest/scripts/cli/test_vpn_pptp.py')
-rwxr-xr-x | smoketest/scripts/cli/test_vpn_pptp.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/smoketest/scripts/cli/test_vpn_pptp.py b/smoketest/scripts/cli/test_vpn_pptp.py index f3fce822b..40dcb7f80 100755 --- a/smoketest/scripts/cli/test_vpn_pptp.py +++ b/smoketest/scripts/cli/test_vpn_pptp.py @@ -40,25 +40,6 @@ class TestVPNPPTPServer(BasicAccelPPPTest.TestCase): def basic_protocol_specific_config(self): pass - def test_accel_name_servers(self): - # Verify proper Name-Server configuration for IPv4 - self.basic_config() - - nameserver = ["192.0.2.1", "192.0.2.2"] - for ns in nameserver: - self.set(["name-server", ns]) - - # commit changes - self.cli_commit() - - # Validate configuration values - conf = ConfigParser(allow_no_value=True, delimiters="=", strict=False) - conf.read(self._config_file) - - # IPv4 and IPv6 nameservers must be checked individually - for ns in nameserver: - self.assertIn(ns, [conf["dns"]["dns1"], conf["dns"]["dns2"]]) - def test_accel_local_authentication(self): # Test configuration of local authentication self.basic_config() @@ -218,10 +199,6 @@ class TestVPNPPTPServer(BasicAccelPPPTest.TestCase): self.assertEqual(f"req-limit=0", server[4]) self.assertEqual(f"fail-time=0", server[5]) - @unittest.skip("IPv6 is not implemented in PPTP") - def test_accel_ipv6_pool(self): - pass - if __name__ == '__main__': unittest.main(verbosity=2) |