Parcourir la source

Fix test_app.test_MainWindow_annotate_jpg with new shape_type field

Kentaro Wada il y a 6 ans
Parent
commit
b9211f94fc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tests/test_app.py

+ 1 - 1
tests/test_app.py

@@ -53,7 +53,7 @@ def test_MainWindow_annotate_jpg(qtbot):
         (986, 742),
         (986, 742),
         (1184, 102),
         (1184, 102),
     ]
     ]
-    shape = label, points, None, None
+    shape = label, points, None, None, 'polygon'
     shapes = [shape]
     shapes = [shape]
     win.loadLabels(shapes)
     win.loadLabels(shapes)
     win.saveFile()
     win.saveFile()