From 53c9b216ef0e1ab95406d3044829dd2f36e55c60 Mon Sep 17 00:00:00 2001 From: Tony Lampada Date: Mon, 16 Sep 2024 10:17:15 -0300 Subject: [PATCH] ignore lint --- tests/util/test_folderparser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/util/test_folderparser.py b/tests/util/test_folderparser.py index 2f58f51..0c732a4 100644 --- a/tests/util/test_folderparser.py +++ b/tests/util/test_folderparser.py @@ -58,8 +58,10 @@ def test_paligemma_format(self): testImagePath = "/dataset/de48275e1ff70fab78bee31e09fc896d_png.rf.01a97b1ad053aa1e6525ac0451cee8b7.jpg" testImage = [i for i in parsed["images"] if i["file"] == testImagePath][0] assert testImage["annotationfile"]["name"] == "annotation.jsonl" + # fmt: off expected = """{"image": "de48275e1ff70fab78bee31e09fc896d_png.rf.01a97b1ad053aa1e6525ac0451cee8b7.jpg", "prefix": "Which sector had the highest ROI in 2013?", "suffix": "Retail"} {"image": "de48275e1ff70fab78bee31e09fc896d_png.rf.01a97b1ad053aa1e6525ac0451cee8b7.jpg", "prefix": "Which sector had the highest ROI in 2014?", "suffix": "Electronics"}""" + # fmt: on assert testImage["annotationfile"]["rawText"] == expected