summaryrefslogtreecommitdiff
path: root/tests/option_constants_test.py
diff options
context:
space:
mode:
authorScott Talbert <swt@techie.net>2023-01-31 10:07:14 -0500
committerGitHub <noreply@github.com>2023-01-31 10:07:14 -0500
commit48e396f74a21309ab1765030bc73c8da321b5c74 (patch)
tree08da44db185874f5df63e0f7f3d0a860258a6b28 /tests/option_constants_test.py
parent2a8f57dc7d1906aeb1d828d91cbb440573dcd634 (diff)
parentde38accb520fa224d7ea90122d6bf71d2827f16e (diff)
downloadpycurl-master.tar.gz
Merge pull request #786 from swt2c/option_aws_sigv4HEADmaster
Add CURLOPT_AWS_SIGV4 option
Diffstat (limited to 'tests/option_constants_test.py')
-rw-r--r--tests/option_constants_test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py
index 4698e3d..7b94164 100644
--- a/tests/option_constants_test.py
+++ b/tests/option_constants_test.py
@@ -399,6 +399,12 @@ class OptionConstantsTest(unittest.TestCase):
curl.setopt(curl.PROXY_TLS13_CIPHERS, 'TLS_CHACHA20_POLY1305_SHA256')
curl.close()
+ @util.min_libcurl(7, 75, 0)
+ def test_aws_sigv4(self):
+ curl = pycurl.Curl()
+ curl.setopt(curl.AWS_SIGV4, 'provider1:provider2')
+ curl.close()
+
class OptionConstantsSettingTest(unittest.TestCase):
def setUp(self):
self.curl = pycurl.Curl()