twisted.test.test_randbytes.SecureRandomTestCaseBase(object)
class documentationtwisted.test.test_randbytes
(View In Hierarchy)
Known subclasses: twisted.test.test_randbytes.ConditionalSecureRandomTests, twisted.test.test_randbytes.RandomBaseTests, twisted.test.test_randbytes.SecureRandomTests
Base class for secureRandom test cases.
Method | _check | No summary |
The given random bytes source should return the number of bytes requested each time it is called and should probably not return the same bytes on two consecutive calls (although this is a perfectly legitimate occurrence and rejecting it may generate a spurious failure -- maybe we'll get lucky and the heat death with come first).