X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=tests%2Ftestrand.py;h=9f67f28425f4ad39c250c2e0fa5fb6151b5c9f27;hb=HEAD;hp=853a4916f973716d2dbb85d8583b0e90dfc0e034;hpb=954b6dc9e3312f8d8b49f20f8466e6d2a8342f35;p=oss%2Fctypescrypto.git diff --git a/tests/testrand.py b/tests/testrand.py index 853a491..9f67f28 100644 --- a/tests/testrand.py +++ b/tests/testrand.py @@ -13,11 +13,11 @@ class TestRand(unittest.TestCase): b2=pseudo_bytes(100) self.assertNotEqual(b,b2) def test_seed(self): - b="aaqwrwfsagdsgdsfgdsfgdfsgdsfgdsgfdsfgdsfg" + b=b"aaqwrwfsagdsgdsfgdsfgdfsgdsfgdsgfdsfgdsfg" seed(b) # Check if no segfault here def test_entropy(self): - b="aaqwrwfsagdsgdsfgdsfgdfsgdsfgdsgfdsfgdsfg" + b=b"aaqwrwfsagdsgdsfgdsfgdfsgdsfgdsgfdsfgdsfg" seed(b,2.25) # Check if no segfault here def test_Status(self):