From f99735d85cf34e3a2adc0745969a9f397b818e4e Mon Sep 17 00:00:00 2001 From: Falk David Date: Tue, 8 Oct 2024 14:12:58 +0200 Subject: [PATCH] Fix: pyapi_grease_pencil test failiure Broken by 09ca5a4c5f49d9467b3ac5391cd552c48ee4e504. The test needs to be updated to reflect the change. --- tests/python/bl_pyapi_grease_pencil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/bl_pyapi_grease_pencil.py b/tests/python/bl_pyapi_grease_pencil.py index aa877bca243..93a78bab6d4 100644 --- a/tests/python/bl_pyapi_grease_pencil.py +++ b/tests/python/bl_pyapi_grease_pencil.py @@ -93,7 +93,7 @@ class TestGreasePencilDrawing(unittest.TestCase): def test_grease_pencil_drawing_remove_all_strokes(self): self.drawing.remove_strokes() - self.assertIsNone(self.drawing.strokes) + self.assertEqual(len(self.drawing.strokes), 0) def test_grease_pencil_drawing_remove_strokes(self): self.drawing.remove_strokes(indices=[0, 2])