def shot(self, camera): print("taking shot") path = '../image.jpg' camera.capture(path, use_video_port=True) image = Image(config=self.config, path=path) image.upload_image()
def test_load_image(self): config = Config() image = Image(config,"Config.py") image.upload_image() self.assertEqual('foo'.upper(), 'FOO')