def test_getrandbits_initial_values(self): random = _drbg.Random() other = _drbg.Random() assert random.getrandbits(64) != other.getrandbits(64)
def test_random_initial_values(self): random = _drbg.Random() other = _drbg.Random() assert random.random() != other.random()
def random(self): return _drbg.Random()
def entropy(self): return _drbg.Random()._entropy
def test_initial_values(self, random): other = _drbg.Random() assert random.token_bytes(8) != other.token_bytes(8)
def random(self, entropy): return _drbg.Random(entropy)