def test_cipherImplementations_empty(self): hs = HandshakeSettings() hs.cipherImplementations = [] with self.assertRaises(ValueError): hs.validate()
def test_cipherImplementations_empty(self): hs = HandshakeSettings() hs.cipherImplementations = [] with self.assertRaises(ValueError): hs.validate()
def test_cipherImplementations_with_unknown_implementations(self): hs = HandshakeSettings() hs.cipherImplementations = ["openssl", "NSS"] with self.assertRaises(ValueError): hs.validate()
def test_cipherImplementations_with_unknown_implementations(self): hs = HandshakeSettings() hs.cipherImplementations = ["openssl", "NSS"] with self.assertRaises(ValueError): hs.validate()