summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-28 20:22:39 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-28 20:22:53 +0200
commit3db596c271c37a382fb703dbf8a268dc639dcd9c (patch)
tree4aed59cfd9640f372f6af3ce73c13b6c72318fa6
parent256f5bc1bd1bf80e323d7d7db5ba3c9b7d3463a1 (diff)
downloadvyos-1x-3db596c271c37a382fb703dbf8a268dc639dcd9c.tar.gz
vyos-1x-3db596c271c37a382fb703dbf8a268dc639dcd9c.zip
interfaces: wwan: remove PPPoE markers
-rwxr-xr-xscripts/cli/test_interfaces_wirelessmodem.py6
1 files 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 <http://www.gnu.org/licenses/>.
-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'])