diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-08-02 16:53:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 16:53:40 +0100 |
commit | 998df24dc4ed0c1ccd572d09c438d96fe6b79ba8 (patch) | |
tree | 543d42c7461a06a77adc05bb35981e5a4eae14c4 /src/tests/test_configd_inspect.py | |
parent | b5e3612697de61ce5d470c1842703ff534cf33fe (diff) | |
parent | 31de01242a26dff8ff993061ea2f86102a8a7493 (diff) | |
download | vyos-1x-998df24dc4ed0c1ccd572d09c438d96fe6b79ba8.tar.gz vyos-1x-998df24dc4ed0c1ccd572d09c438d96fe6b79ba8.zip |
Merge pull request #3933 from jestabro/add-missing-standard-func
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.py | 3 |
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) |