docstr: Test Init calls with different lang and oem.
docstr_tok: ["Test","Init","calls","with","different","lang","and","oem","."]
code: def test_init(self):
      """Test Init calls with different lang and oem."""
      self._api.Init(lang="eng+osd")
      self.assertEqual(self._api.GetInitLanguagesAsString(), "eng+osd")
      self._api.Init(lang="eng")
      self.assertEqual(self._api.GetInitLanguagesAsString(), "eng")
      self._api.Init(oem=tesserocr.OEM.TESSERACT_ONLY)
      self.assertEqual(self._api.oem(), tesserocr.OEM.TESSERACT_ONLY)
  
imports: import unittest
  import re
  import os.path
  import tesserocr
label_desc: Use image node_id 5 for calling the TestTessBaseApi obj's underlying member method code with example usage: obj.test_init() without return types