瀏覽代碼

Fix test_app.test_MainWindow_annotate_jpg with new shape_type field

Kentaro Wada 6 年之前
父節點
當前提交
b9211f94fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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),
         (1184, 102),
     ]
-    shape = label, points, None, None
+    shape = label, points, None, None, 'polygon'
     shapes = [shape]
     win.loadLabels(shapes)
     win.saveFile()