From 3db596c271c37a382fb703dbf8a268dc639dcd9c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 28 Jun 2020 20:22:39 +0200 Subject: interfaces: wwan: remove PPPoE markers --- scripts/cli/test_interfaces_wirelessmodem.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/cli/test_interfaces_wirelessmodem.py b/scripts/cli/test_interfaces_wirelessmodem.py index baacb8c66..40cd03b93 100755 --- a/scripts/cli/test_interfaces_wirelessmodem.py +++ b/scripts/cli/test_interfaces_wirelessmodem.py @@ -14,13 +14,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -import re import os import unittest from psutil import process_iter from vyos.configsession import ConfigSession, ConfigSessionError -from vyos.util import read_file config_file = '/etc/ppp/peers/{}' base_path = ['interfaces', 'wirelessmodem'] @@ -32,7 +30,7 @@ def get_config_value(interface, key): return list(line.split()) return [] -class PPPoEInterfaceTest(unittest.TestCase): +class WWANInterfaceTest(unittest.TestCase): def setUp(self): self.session = ConfigSession(os.getpid()) self._interfaces = ['wlm0', 'wlm1'] @@ -42,7 +40,7 @@ class PPPoEInterfaceTest(unittest.TestCase): self.session.commit() del self.session - def test_pppoe_1(self): + def test_wlm_1(self): for interface in self._interfaces: self.session.set(base_path + [interface, 'no-peer-dns']) self.session.set(base_path + [interface, 'ondemand']) -- cgit v1.2.3