diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2016-01-16 20:30:30 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2016-01-16 20:31:06 -0500 |
commit | acf6bb25cb4a6dfdf0f9493419c2efa2f7cf0220 (patch) | |
tree | e41bf3f930de352cd21cf46db91751e6b78581f3 /tests | |
parent | 9f4ba812e48a24261f2f92c10da66767ec480d5b (diff) | |
download | pycurl-acf6bb25cb4a6dfdf0f9493419c2efa2f7cf0220.tar.gz |
Add TLSAUTH options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/option_constants_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py index 61b55f2..d9f6236 100644 --- a/tests/option_constants_test.py +++ b/tests/option_constants_test.py @@ -419,3 +419,9 @@ class OptionConstantsSettingTest(unittest.TestCase): def test_proto_smb(self): assert self.curl.PROTO_SMB is not None assert self.curl.PROTO_SMBS is not None + + @util.min_libcurl(7, 21, 4) + def test_tlsauth(self): + self.curl.setopt(self.curl.TLSAUTH_TYPE, "SRP") + self.curl.setopt(self.curl.TLSAUTH_USERNAME, "test") + self.curl.setopt(self.curl.TLSAUTH_PASSWORD, "test") |