def test_ensure_resolutions_matches(self):
    location = os.path.join(self.provider.assets, 'steam', 'download_update.png')
    img = cv2.imread(location)
    self.provider.ensure_resolutions_matches(img)
    img = img[0:100, 0:100]
    with self.assertRaises(bot.providers.BotSetupError) as context:
        self.provider.ensure_resolutions_matches(img)
def test_ensure_resolutions_matches(self):
    location = os.path.join(self.provider.assets, 'steam', 'download_update.png')
    img = cv2.imread(location)
    self.provider.ensure_resolutions_matches(img)
    img = img[0:100, 0:100]
    with self.assertRaises(bot.providers.BotSetupError) as context:
        self.provider.ensure_resolutions_matches(img)