Skip to content

Commit

Permalink
[#16] Fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
quicklizard99 committed Mar 18, 2018
1 parent ce90bf5 commit 3aab489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzbar/tests/test_pyzbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_zbar_image_scanner_create_fail(self, zbar_image_scanner_create):

@patch('pyzbar.pyzbar.zbar_scan_image')
def test_zbar_scan_image_fail(self, zbar_scan_image):
zbar_scan_image.return_value = None
zbar_scan_image.return_value = -1
self.assertRaises(PyZbarError, decode, self.code128)
self.assertEqual(1, zbar_scan_image.call_count)

Expand Down

0 comments on commit 3aab489

Please sign in to comment.