summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 15:02:05 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 15:02:05 +0200
commitdc36efc4d70e861d9adcfdcb2865706ac7f32e0f (patch)
tree6e7c0cfa8e5bc8fc54226d16f95b8d4cbc786160
parentc26648b99c9a5e7019294dbd2e0a6a3c23f9f85a (diff)
downloadvyos-1x-dc36efc4d70e861d9adcfdcb2865706ac7f32e0f.tar.gz
vyos-1x-dc36efc4d70e861d9adcfdcb2865706ac7f32e0f.zip
wifi: add precondition of physical-interface for all tests
-rwxr-xr-x[-rw-r--r--]scripts/cli/test_interfaces_wireless.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/cli/test_interfaces_wireless.py b/scripts/cli/test_interfaces_wireless.py
index 2d26ed039..cefe0e323 100644..100755
--- a/scripts/cli/test_interfaces_wireless.py
+++ b/scripts/cli/test_interfaces_wireless.py
@@ -24,7 +24,13 @@ class WirelessInterfaceTest(BasicInterfaceTest.BaseTest):
super().setUp()
self._base_path = ['interfaces', 'wireless']
- self._interfaces = ['wlan0']
+ self._interfaces = ['wlan0', 'wlan1', 'wlan10', 'wlan11']
+ self._options = {
+ 'wlan0': ['physical-device phy0'],
+ 'wlan1': ['physical-device phy0'],
+ 'wlan10': ['physical-device phy1'],
+ 'wlan11': ['physical-device phy1'],
+ }
def test_add_description(self):
"""