From 4ae9d14d0989366a27f81a061ad4fdd267b2325b Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 3 Aug 2024 18:12:50 +0300 Subject: T6632: add missing standard functions to config scripts (#3936) (cherry picked from commit 31de01242a26dff8ff993061ea2f86102a8a7493) Co-authored-by: John Estabrook --- smoketest/scripts/cli/test_configd_inspect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'smoketest/scripts') 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) -- cgit v1.2.3