From b3bc4c521536ea9baefd0ea00f6fc93f6d243a3b Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sun, 30 Mar 2025 10:20:21 +0000 Subject: [PATCH] test suite: group_mgr initialization fix --- test/cmdtest_d/include/group_mgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cmdtest_d/include/group_mgr.py b/test/cmdtest_d/include/group_mgr.py index 1ab22342..4ed1d4e5 100755 --- a/test/cmdtest_d/include/group_mgr.py +++ b/test/cmdtest_d/include/group_mgr.py @@ -108,7 +108,7 @@ class CmdGroupMgr: return [k for k, v in cfgs[str(tmpdir_idx)]['dep_generators'].items() if k in cls.shared_deps and v != cmdname] - if not hasattr(cls, 'cmd_group'): + if not 'cmd_group' in cls.__dict__: cls.cmd_group = self.create_cmd_group(cls, sg_name) for a, b in cls.cmd_group: