From acf6bb25cb4a6dfdf0f9493419c2efa2f7cf0220 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Sat, 16 Jan 2016 20:30:30 -0500 Subject: Add TLSAUTH options --- tests/option_constants_test.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') 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") -- cgit v1.2.1