fix: Call cluster by type

pull/27/head
Raphaël Vinot 2024-06-20 13:42:12 +02:00
parent 751ed3d5be
commit d285c38fa6
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class TestPyMISPGalaxies(unittest.TestCase):
all_uuids = defaultdict(list)
for cluster in self.clusters.values():
# Skip deprecated
if self.galaxies[cluster.name].namespace == 'deprecated':
if self.galaxies[cluster.type].namespace == 'deprecated':
continue
try:
self.assertIsInstance(UUID(cluster.uuid), UUID, f'{cluster.name} - {cluster.uuid}')