소스 검색

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()