fix: Update model label handling to always display label without missing status
This commit is contained in:
@@ -559,6 +559,15 @@ class BlenderAddonTest(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(tuple(item[0] for item in depth_items[:-1]), expected)
|
||||
self.assertEqual(tuple(item[0] for item in mesh_depth_items), expected)
|
||||
expected_labels = (
|
||||
"MoGe-2 ViT-S",
|
||||
"MoGe-2 ViT-B",
|
||||
"MoGe-2 ViT-L",
|
||||
)
|
||||
self.assertEqual(
|
||||
tuple(item[1] for item in depth_items[:-1]), expected_labels
|
||||
)
|
||||
self.assertEqual(tuple(item[1] for item in mesh_depth_items), expected_labels)
|
||||
|
||||
def test_required_model_operator_requests_both_models(self):
|
||||
operator = self.anyimage.operators.DownloadRequiredModels()
|
||||
|
||||
Reference in New Issue
Block a user