diff options
author | Robey Pointer <robey@twitter.com> | 2011-05-21 19:11:34 -0700 |
---|---|---|
committer | Robey Pointer <robey@twitter.com> | 2011-05-21 19:11:34 -0700 |
commit | e891a5e4734464f17f1b2029d873773028637597 (patch) | |
tree | 51e6580071f8cea42f1d8c0109a507b8f140555b /tests/test_util.py | |
parent | 33482ff338ef5049b46ef61ac0d646bb5e5f7d58 (diff) | |
parent | 044e7029986a060552770feb1687b00862f1a6ba (diff) |
Merge pull request #8 from garyvdm/master
Untitled
Diffstat (limited to 'tests/test_util.py')
-rw-r--r-- | tests/test_util.py | 4 |
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) |