This commit is contained in:
Itamar Turner-Trauring 2022-11-16 13:28:26 -05:00
parent add510701c
commit 7afd821efc

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):
"""