summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-18 16:53:33 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-07-22 14:19:57 +0000
commitb93d880b379a5e423f6033e0c29a4950505615ae (patch)
tree4a59f4216f86c8db47279997873f06d7d0f6ff56
parenta0e240c263eeda982c81d3a56de79b0307d63873 (diff)
downloadvyos-1x-b93d880b379a5e423f6033e0c29a4950505615ae.tar.gz
vyos-1x-b93d880b379a5e423f6033e0c29a4950505615ae.zip
wireless: T6425: adjust to latest country-code changes
Commit 9e22ab6b2a ("wireless: T6318: move country-code to a system wide configuration") removed the per wifi interface setting for a country-code. This commit adjust the smoketests to the new design. (cherry picked from commit 312273c9569d973c510d871adb941709804d8868)
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_wireless.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_wireless.py b/smoketest/scripts/cli/test_interfaces_wireless.py
index 9123918cf..5ade36e7d 100755
--- a/smoketest/scripts/cli/test_interfaces_wireless.py
+++ b/smoketest/scripts/cli/test_interfaces_wireless.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2020-2023 VyOS maintainers and contributors
+# Copyright (C) 2020-2024 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -153,7 +153,6 @@ class WirelessInterfaceTest(BasicInterfaceTest.TestCase):
antennas = '3'
self.cli_set(self._base_path + [interface, 'ssid', ssid])
- self.cli_set(self._base_path + [interface, 'country-code', 'se'])
self.cli_set(self._base_path + [interface, 'type', 'access-point'])
self.cli_set(self._base_path + [interface, 'channel', '36'])
@@ -223,7 +222,6 @@ class WirelessInterfaceTest(BasicInterfaceTest.TestCase):
antennas = '3'
self.cli_set(self._base_path + [interface, 'ssid', ssid])
- self.cli_set(self._base_path + [interface, 'country-code', 'se'])
self.cli_set(self._base_path + [interface, 'type', 'access-point'])
self.cli_set(self._base_path + [interface, 'channel', '36'])