Преглед на файлове

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