summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-08-01 19:00:30 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-08-02 16:18:29 +0000
commitb510e2c9e3e34b866a4d7a038676238e4ab30684 (patch)
treee6e78a145205adf739bf9278f246bc1ef1951b9b /smoketest/scripts/cli
parent1982aa3434d0133b5060d0a6df4e636dbf1b98fa (diff)
downloadvyos-1x-b510e2c9e3e34b866a4d7a038676238e4ab30684.tar.gz
vyos-1x-b510e2c9e3e34b866a4d7a038676238e4ab30684.zip
T6632: add missing standard functions to config scriptsmergify/bp/circinus/pr-3933
(cherry picked from commit 31de01242a26dff8ff993061ea2f86102a8a7493)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_configd_inspect.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_configd_inspect.py b/smoketest/scripts/cli/test_configd_inspect.py
index af46c6148..c2c5990bb 100755
--- a/smoketest/scripts/cli/test_configd_inspect.py
+++ b/smoketest/scripts/cli/test_configd_inspect.py
@@ -58,8 +58,7 @@ class TestConfigdInclude(unittest.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)