@@ -78,6 +78,7 @@ def _test_file(self, filename: str):
7878 self .assertIn ("result" , data )
7979 self .assertIn ("text" , data ["result" ])
8080 output_text = str (data ["result" ]["text" ]).strip ()
81+ self .log .info (output_text )
8182 self .assertGreaterEqual (lev_similarity (output_text , DOCS [0 ].text ), self .TEXT_SIMILARITY_THRESHOLD )
8283
8384 def _test_json_payload_json_b64_binary_data (self , payload : bytes ):
@@ -90,6 +91,7 @@ def _test_json_payload_json_b64_binary_data(self, payload: bytes):
9091 self .assertIn ("result" , data )
9192 self .assertIn ("text" , data ["result" ])
9293 output_text = str (data ["result" ]["text" ]).strip ()
94+ self .log .info (output_text )
9395 self .assertGreaterEqual (lev_similarity (output_text , DOCS [0 ].text ), self .TEXT_SIMILARITY_THRESHOLD )
9496
9597 def _test_payload_binary_data (self , payload : bytes ):
@@ -101,6 +103,7 @@ def _test_payload_binary_data(self, payload: bytes):
101103 self .assertIn ("result" , data )
102104 self .assertIn ("text" , data ["result" ])
103105 output_text = str (data ["result" ]["text" ]).strip ()
106+ self .log .info (output_text )
104107 self .assertGreaterEqual (lev_similarity (output_text , DOCS [0 ].text ), self .TEXT_SIMILARITY_THRESHOLD )
105108
106109 def test_process_doc (self ):
0 commit comments