def test_scan_for_ok(self):
    img = os.path.join(self.provider.assets, 'steam', 'steam_back.png')
    t = tm.BoundingTrainer(img, bounding_area=self.provider.predefined.main_area)
    location = os.path.join(self.provider.assets, 'back__.png')
    self.assertTrue((t.get_matches(location, 3) is True), 'Expecting a back button')
def test_scan_for_ok(self):
    img = os.path.join(self.provider.assets, 'steam', 'steam_back.png')
    t = tm.BoundingTrainer(img, bounding_area=self.provider.predefined.main_area)
    location = os.path.join(self.provider.assets, 'back__.png')
    self.assertTrue((t.get_matches(location, 3) is True), 'Expecting a back button')