This commit is contained in:
Itamar Turner-Trauring 2022-11-16 13:37:50 -05:00
parent 3531737347
commit 097d918a24

View File

@ -179,6 +179,10 @@ class PinningHTTPSValidation(AsyncTestCase):
response = await self.request(url, certificate)
self.assertEqual(await response.content(), b"YOYODYNE")
# We keep getting TLSMemoryBIOProtocol being left around, so try harder
# to wait for it to finish.
await deferLater(reactor, 0.01)
@async_to_deferred
async def test_server_certificate_not_valid_yet(self):
"""