def test_read_region(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_region(0,0,175,175)
     self.assertEqual(list, type(response))
 def test_read_barcode_local(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_from_local_image('./data/barcodeQR.png', 'QR')
     self.assertEqual(list, type(response))
 def test_read_from_url(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_from_url('http://www.qrstuff.com/images/default_qrcode.png');
     self.assertEqual(list, type(response))
 def test_read_region(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_region(0, 0, 175, 175)
     self.assertEqual(list, type(response))
 def test_read_from_url(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_from_url(
         'http://www.qrstuff.com/images/default_qrcode.png')
     self.assertEqual(list, type(response))
 def test_read_barcode_local(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_from_local_image('./data/barcodeQR.png', 'QR')
     self.assertEqual(list, type(response))
 def test_read_by_algorithm(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_by_algorithm('QR', 'MedianSmoothing')
     self.assertEqual(list, type(response))
 def test_read_by_algorithm(self):
     reader = Reader('barcodeQR.png')
     response = reader.read_by_algorithm('QR','MedianSmoothing')
     self.assertEqual(list, type(response))