docstr: Test SetImageFile and GetUTF8Text.
docstr_tok: ["Test","SetImageFile","and","GetUTF8Text","."]
code: def test_image_file(self):
      """Test SetImageFile and GetUTF8Text."""
      self._api.SetImageFile(self._image_file)
      text = self._api.GetUTF8Text()
      self.assertIn("quick", text)
      text2 = tesserocr.file_to_text(self._image_file)
      self.assertEqual(text, text2)
  
imports: import unittest
  import re
  import os.path
  import tesserocr
label_desc: Use image node_id 7 for calling the TestTessBaseApi obj's underlying member method code with example usage: obj.test_image_file() without return types