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_string_true(self):
     """Test return bool True when getting string True"""
     self.assertEqual(get_valid_https_verify('True'), True)
Beispiel #3
0
 def test_valid_https_verify_string_false(self):
     """Test return bool False when getting string False"""
     self.assertEqual(get_valid_https_verify('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)