Browse Source

Fix test_app.test_MainWindow_annotate_jpg with new shape_type field

Kentaro Wada 6 years ago
parent
commit
b9211f94fc
1 changed files with 1 additions and 1 deletions
  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()