From e4e75aacac93f320a20ad367bdfc8aa2c21596ef Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 3 Oct 2020 11:48:36 +0200 Subject: pppoe-server: T2956: make use of defaultValue list feature --- smoketest/scripts/cli/test_service_pppoe-server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'smoketest/scripts/cli/test_service_pppoe-server.py') diff --git a/smoketest/scripts/cli/test_service_pppoe-server.py b/smoketest/scripts/cli/test_service_pppoe-server.py index 14f8316f5..2e435fa67 100755 --- a/smoketest/scripts/cli/test_service_pppoe-server.py +++ b/smoketest/scripts/cli/test_service_pppoe-server.py @@ -218,7 +218,9 @@ class TestServicePPPoEServer(unittest.TestCase): def test_auth_protocols(self): """ Test configuration of local authentication for PPPoE server """ self.basic_config() - self.session.set(base_path + ['authentication', 'protocols', 'auth_mschap_v2']) + + # explicitly test mschap-v2 - no special reason + self.session.set(base_path + ['authentication', 'protocols', 'mschap-v2']) # commit changes self.session.commit() @@ -286,8 +288,6 @@ class TestServicePPPoEServer(unittest.TestCase): # Validate configuration values conf = ConfigParser(allow_no_value=True, delimiters='=') conf.read(pppoe_conf) - from vyos.util import read_file - print(read_file(pppoe_conf)) for tmp in ['ipv6pool', 'ipv6_nd', 'ipv6_dhcp']: self.assertEqual(conf['modules'][tmp], None) -- cgit v1.2.3