diff --git a/src/tests/test_shamira.py b/src/tests/test_shamira.py --- a/src/tests/test_shamira.py +++ b/src/tests/test_shamira.py @@ -20,9 +20,9 @@ class TestShamira(TestCase): os.urandom=cls._urandom def test_shareByte(self): - with self.assertRaises(AssertionError): # too few shares + with self.assertRaises(ValueError): # too few shares _shareByte(b"a",5,4) - with self.assertRaises(AssertionError): # too many shares + with self.assertRaises(ValueError): # too many shares _shareByte(b"a",5,255) with self.assertRaises(ValueError): # not castable to int _shareByte("x",2,3)