diff options
-rwxr-xr-x | util/check_zephyr_project_config.py | 2 | ||||
-rwxr-xr-x | util/check_zephyr_project_config_unittest.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/util/check_zephyr_project_config.py b/util/check_zephyr_project_config.py index 6a48e348fd..93a43ad02f 100755 --- a/util/check_zephyr_project_config.py +++ b/util/check_zephyr_project_config.py @@ -96,7 +96,7 @@ class KconfigCheck: """ with tempfile.TemporaryDirectory() as temp_dir: modules = zephyr_module.parse_modules( - ZEPHYR_BASE, extra_modules=[EC_BASE] + ZEPHYR_BASE, modules=[EC_BASE] ) kconfig = "" diff --git a/util/check_zephyr_project_config_unittest.py b/util/check_zephyr_project_config_unittest.py index 0229085725..ad28d8e128 100755 --- a/util/check_zephyr_project_config_unittest.py +++ b/util/check_zephyr_project_config_unittest.py @@ -52,7 +52,7 @@ class TestKconfigCheck(unittest.TestCase): parse_modules_mock.assert_called_once_with( check_zephyr_project_config.ZEPHYR_BASE, - extra_modules=[check_zephyr_project_config.EC_BASE], + modules=[check_zephyr_project_config.EC_BASE], ) process_kconfig_mock.assert_called_once_with("project", "meta") kconfig_mock.assert_called_once_with( @@ -83,9 +83,7 @@ class TestKconfigCheck(unittest.TestCase): kconfig_mock.assert_called_once_with(kconfig_path) self.assertEqual(process_kconfig_mock.call_count, 0) - parse_modules_mock.assert_called_once_with( - mock.ANY, extra_modules=mock.ANY - ) + parse_modules_mock.assert_called_once_with(mock.ANY, modules=mock.ANY) @mock.patch("pathlib.Path.is_file") @mock.patch("check_zephyr_project_config.KconfigCheck._init_kconfig") |