From b83827a1e7d969c83266e22abbd1e23e100ccde1 Mon Sep 17 00:00:00 2001 From: Stefano Date: Fri, 6 Oct 2023 13:02:59 +0100 Subject: [PATCH] Update test_program.py --- testify/test_program.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testify/test_program.py b/testify/test_program.py index 606908e..fcaa0bc 100644 --- a/testify/test_program.py +++ b/testify/test_program.py @@ -61,8 +61,9 @@ def load_plugins(): # Need some unlikely-to-clash unique-ish module name mod_name = '_testify_plugin__' + mod_name - try: - SourceFileLoader(mod_name, full_file_path).load_module() + try: + module_type = SourceFileLoader(mod_name, full_file_path).load_module() + plugin_modules.append(module_type) except TypeError: continue except ImportError as e: