From f95f92440120bca959d0e8166fbb4866cd9a9221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Tue, 30 Jun 2020 22:42:22 +0200 Subject: [PATCH] =?UTF-8?q?Rename:=20testPayloadDefaultCiphers=20=E2=86=92?= =?UTF-8?q?=20testPayloadDisabledCipher?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_webclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_webclient.py b/tests/test_webclient.py index 5cdbbdbe4..ffc7506c0 100644 --- a/tests/test_webclient.py +++ b/tests/test_webclient.py @@ -414,7 +414,7 @@ class WebClientCustomCiphersSSLTestCase(WebClientSSLTestCase): self.getURL("payload"), body=s, contextFactory=client_context_factory ).addCallback(self.assertEqual, to_bytes(s)) - def testPayloadDefaultCiphers(self): + def testPayloadDisabledCipher(self): s = "0123456789" * 10 settings = Settings({'DOWNLOADER_CLIENT_TLS_CIPHERS': 'ECDHE-RSA-AES256-GCM-SHA384'}) client_context_factory = create_instance(ScrapyClientContextFactory, settings=settings, crawler=None)