summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-03-10 10:07:31 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-03-10 12:11:07 -0600
commitc1e04cea0817db07b22a8bd8e6b2f2c0a1e682f4 (patch)
tree3f238ec7e17d3ae895b8db1093c608ee488bc6e1 /smoketest/scripts/cli
parentef4870e66f8c1cd6df5fba2abbfdde0eac152e0a (diff)
downloadvyos-1x-c1e04cea0817db07b22a8bd8e6b2f2c0a1e682f4.tar.gz
vyos-1x-c1e04cea0817db07b22a8bd8e6b2f2c0a1e682f4.zip
Revert "component_version: T4291: consolidate read/write functions"
This reverts commit 534f677d36285863decb2cdff179687b4fd690cb. Revert while investigating failure in vyos-configtest.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_component_version.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_component_version.py b/smoketest/scripts/cli/test_component_version.py
index 21cc1c761..777379bdd 100755
--- a/smoketest/scripts/cli/test_component_version.py
+++ b/smoketest/scripts/cli/test_component_version.py
@@ -16,7 +16,7 @@
import unittest
-from vyos.component_version import legacy_from_system, from_system
+from vyos.systemversions import get_system_versions, get_system_component_version
# After T3474, component versions should be updated in the files in
# vyos-1x/interface-definitions/include/version/
@@ -24,8 +24,8 @@ from vyos.component_version import legacy_from_system, from_system
# that in the xml cache.
class TestComponentVersion(unittest.TestCase):
def setUp(self):
- self.legacy_d = legacy_from_system()
- self.xml_d = from_system()
+ self.legacy_d = get_system_versions()
+ self.xml_d = get_system_component_version()
def test_component_version(self):
self.assertTrue(set(self.legacy_d).issubset(set(self.xml_d)))