test suite: group_mgr initialization fix

This commit is contained in:
The MMGen Project 2025-03-30 10:20:21 +00:00
commit b3bc4c5215
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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: