summaryrefslogtreecommitdiff
path: root/src/tests/test_configd_inspect.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-08-01 19:00:30 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-08-02 09:20:29 -0500
commit31de01242a26dff8ff993061ea2f86102a8a7493 (patch)
tree36309c15bed614407c4f6ea3b27e20a8d73ae103 /src/tests/test_configd_inspect.py
parent0f66f4a84deee3da1b164c30dbe221105b424659 (diff)
downloadvyos-1x-31de01242a26dff8ff993061ea2f86102a8a7493.tar.gz
vyos-1x-31de01242a26dff8ff993061ea2f86102a8a7493.zip
T6632: add missing standard functions to config scripts
Diffstat (limited to 'src/tests/test_configd_inspect.py')
-rw-r--r--src/tests/test_configd_inspect.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/test_configd_inspect.py b/src/tests/test_configd_inspect.py
index 98552c8f3..ccd631893 100644
--- a/src/tests/test_configd_inspect.py
+++ b/src/tests/test_configd_inspect.py
@@ -56,8 +56,7 @@ class TestConfigdInspect(TestCase):
m = import_script(s)
for i in f_list:
f = getattr(m, i, None)
- if not f:
- continue
+ self.assertIsNotNone(f, f"'{s}': missing function '{i}'")
sig = signature(f)
par = sig.parameters
l = len(par)