def test_withoutAnything(self):
        self.factory._osUrandom = self.errorFactory
        self.assertRaises(randbytes.SecureRandomNotAvailable,
                          self.factory.secureRandom, 18)
        def wrapper():
            return self.factory.secureRandom(18, fallback=True)
        s = self.assertWarns(
            RuntimeWarning,
            "urandom unavailable - "
            "proceeding with non-cryptographically secure random source",
            __file__,
            wrapper)
        self.assertEqual(len(s), 18)
Triggers initialization
dataset/ETHPy150Open twisted/twisted/twisted/test/test_randbytes.py/ConditionalSecureRandomTests.test_withoutAnything--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/utils/utils.py/lazy_property.__get__