summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-07-15 14:22:49 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-07-15 22:09:52 -0500
commit3284444b1755912883eaa8d474fac01c2355af66 (patch)
tree6580a32635b9d4794a84b92fea9edd2479ed7533 /src/tests
parentf8797df83d9ce127346ee9f0fae43a031559c790 (diff)
downloadvyos-1x-3284444b1755912883eaa8d474fac01c2355af66.tar.gz
vyos-1x-3284444b1755912883eaa8d474fac01c2355af66.zip
T5195: remove obsoleted mangle_dict_keys
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_util.py b/src/tests/test_util.py
index 66c27e824..27ee648d4 100644
--- a/src/tests/test_util.py
+++ b/src/tests/test_util.py
@@ -18,7 +18,7 @@ from unittest import TestCase
class TestVyOSUtil(TestCase):
def test_key_mangling(self):
- from vyos.util import mangle_dict_keys
+ from vyos.utils.dict import mangle_dict_keys
data = {"foo-bar": {"baz-quux": None}}
expected_data = {"foo_bar": {"baz_quux": None}}
new_data = mangle_dict_keys(data, '-', '_')