def test_wait_for(self):
    location = os.path.join(self.provider.assets, 'steam', 'ok_button_duel.png')
    img = cv2.imread(location)
    img = crop_image(img, **self.provider.predefined.ok_button_duel)
    word = self.provider.img_to_string(img, alphabet).lower()
    self.assertTrue((word == 'ok'))
def test_wait_for(self):
    location = os.path.join(self.provider.assets, 'steam', 'ok_button_duel.png')
    img = cv2.imread(location)
    img = crop_image(img, **self.provider.predefined.ok_button_duel)
    word = self.provider.img_to_string(img, alphabet).lower()
    self.assertTrue((word == 'ok'))