Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
super(TestWordBox, self).setUp()
self.tool = cuneiform
self.set_builder()
def test_can_detect_orientation(self):
self.assertFalse(cuneiform.can_detect_orientation())
def test_langs(self):
langs = cuneiform.get_available_languages()
self.assertTrue("eng" in langs,
("English training does not appear to be installed."
" (required for the tests)"))
self.assertTrue("fra" in langs,
("French training does not appear to be installed."
" (required for the tests)"))