Beispiel #1
0
 def test_valid_https_verify_bool_string(self):
     """Test return string when getting a string value in https_verify"""
     self.assertEqual(get_valid_https_verify('ca_cert.crt'), 'ca_cert.crt')
Beispiel #2
0
 def test_valid_https_verify_unicode_string_true(self):
     """Test return bool True when getting unicode string True"""
     self.assertEqual(get_valid_https_verify(u'True'), True)
Beispiel #3
0
 def test_valid_https_verify_unicode_string_false(self):
     """Test return bool False when getting unicode string False"""
     self.assertEqual(get_valid_https_verify(u'False'), False)
Beispiel #4
0
 def test_valid_https_verify_bool_true(self):
     """Test return bool True when getting bool True"""
     self.assertEqual(get_valid_https_verify(True), True)