summaryrefslogtreecommitdiffhomepage
path: root/tests/test_util.py
diff options
context:
space:
mode:
authorGary van der Merwe <garyvdm@gmail.com>2010-08-03 00:13:08 +0200
committerGary van der Merwe <garyvdm@gmail.com>2010-08-03 00:13:08 +0200
commit044e7029986a060552770feb1687b00862f1a6ba (patch)
treee00ba3aa34c8bb343dce0da3f1d7470cd6c83421 /tests/test_util.py
parente2add909811956b4a5cd91d290a3df45612ba75d (diff)
Use Crypto.Random rather than Crypto.Util.RandomPool.
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index 3569abf8..256c3d7c 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -147,8 +147,8 @@ class UtilTest (unittest.TestCase):
os.unlink('hostfile.temp')
def test_6_random(self):
- from paramiko.common import randpool
+ from paramiko.common import rng
# just verify that we can pull out 32 bytes and not get an exception.
- x = randpool.get_bytes(32)
+ x = rng.read(32)
self.assertEquals(len(x), 32)