summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authormergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-08-03 18:12:50 +0300
committerGitHub <noreply@github.com>2024-08-03 18:12:50 +0300
commit4ae9d14d0989366a27f81a061ad4fdd267b2325b (patch)
treedd527383cee3ec34d1c64b5b930e850d190cd8ec /smoketest/scripts
parentf5b4f5e8536ebab6d1b513367fce414502bda375 (diff)
downloadvyos-1x-4ae9d14d0989366a27f81a061ad4fdd267b2325b.tar.gz
vyos-1x-4ae9d14d0989366a27f81a061ad4fdd267b2325b.zip
T6632: add missing standard functions to config scripts (#3936)
(cherry picked from commit 31de01242a26dff8ff993061ea2f86102a8a7493) Co-authored-by: John Estabrook <jestabro@vyos.io>
Diffstat (limited to 'smoketest/scripts')
-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)