diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-27 19:45:55 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-27 19:45:55 +0200 |
commit | fd9979344198b085516455bbb17e98c8fa93c92e (patch) | |
tree | 84a14bbb5dbe5aee46743bd01369616244f3dfa0 | |
parent | 209df86329df513073c070ed5169cb93dee09d2e (diff) | |
download | vyos-1x-fd9979344198b085516455bbb17e98c8fa93c92e.tar.gz vyos-1x-fd9979344198b085516455bbb17e98c8fa93c92e.zip |
smoketest: vif: T3570: bugfix for equuleus smoketest API
Added by commit 8ff36fa268f ("smoketest: vif: T3570: fix vlan interface MTU test
for pseudo-ethernet interfaces"), but it used the new API available through
VyOSUnitTestSHIM.
This has ben fixed to use the old API.
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index ef10b5348..110309780 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -312,7 +312,7 @@ class BasicInterfaceTest: if 'source-interface' in option: iface = option.split()[-1] iface_type = Section.section(iface) - self.cli_set(['interfaces', iface_type, iface, 'mtu', mtu_9000]) + self.session.set(['interfaces', iface_type, iface, 'mtu', mtu_9000]) for vlan in self._vlan_range: base = self._base_path + [interface, 'vif', vlan] |