From 4b89162c7688ac097b617f239838f027d86be1bb Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Fri, 30 Oct 2026 21:53:52 -0700 Subject: [PATCH] refactor(quality): use the precise assert in the model status test --- tests/test_api_autotag.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_api_autotag.py b/tests/test_api_autotag.py index 886482bd..1ef568b2 100644 --- a/tests/test_api_autotag.py +++ b/tests/test_api_autotag.py @@ -1178,7 +1178,9 @@ class TestModelStatus(AutotagAPITestCase): ) # Kept fields legacy pages and the workspace read. for model in models.values(): - self.assertTrue({"name", "description", "size", "downloaded"} <= set(model)) + self.assertLessEqual( + {"name", "description", "size", "downloaded"}, set(model) + ) self.assertTrue(data["model_loaded"]) self.assertEqual(data["loaded_model_type"], "wd14-vit")